-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dist YAML files for edgenet deployment
- Loading branch information
1 parent
6a1c5bc
commit 6ea1255
Showing
4 changed files
with
1,136 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
name: subnamespaces.multitenancy.edge-net.io | ||
spec: | ||
group: multitenancy.edge-net.io | ||
names: | ||
kind: SubNamespace | ||
listKind: SubNamespaceList | ||
plural: subnamespaces | ||
shortNames: | ||
- sns | ||
singular: subnamespace | ||
scope: Namespaced | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: SubNamespace is the Schema for the subnamespaces API | ||
properties: | ||
apiVersion: | ||
description: |- | ||
APIVersion defines the versioned schema of this representation of an object. | ||
Servers should convert recognized schemas to the latest internal value, and | ||
may reject unrecognized values. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
type: string | ||
kind: | ||
description: |- | ||
Kind is a string value representing the REST resource this object represents. | ||
Servers may infer this from the endpoint the client submits requests to. | ||
Cannot be updated. | ||
In CamelCase. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: SubNamespaceSpec defines the desired state of SubNamespace | ||
properties: | ||
foo: | ||
description: Foo is an example field of SubNamespace. Edit subnamespace_types.go | ||
to remove/update | ||
type: string | ||
type: object | ||
status: | ||
description: SubNamespaceStatus defines the observed state of SubNamespace | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
name: tenants.multitenancy.edge-net.io | ||
spec: | ||
group: multitenancy.edge-net.io | ||
names: | ||
kind: Tenant | ||
listKind: TenantList | ||
plural: tenants | ||
shortNames: | ||
- tenant | ||
singular: tenant | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .spec.fullName | ||
name: Full Name | ||
type: string | ||
- jsonPath: .spec.url | ||
name: URL | ||
type: string | ||
- jsonPath: .spec.admin | ||
name: Admin | ||
type: string | ||
name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Tenant is the Schema for the tenants API | ||
properties: | ||
apiVersion: | ||
description: |- | ||
APIVersion defines the versioned schema of this representation of an object. | ||
Servers should convert recognized schemas to the latest internal value, and | ||
may reject unrecognized values. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
type: string | ||
kind: | ||
description: |- | ||
Kind is a string value representing the REST resource this object represents. | ||
Servers may infer this from the endpoint the client submits requests to. | ||
Cannot be updated. | ||
In CamelCase. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: TenantSpec defines the desired state of Tenant | ||
properties: | ||
admin: | ||
description: |- | ||
This is the admin username for the tenant. A role binding will be created for user with this username. | ||
The username for some cases can also be emails. This was the old method. But with different identity | ||
providers this can be any name. | ||
maxLength: 200 | ||
pattern: ^[a-z0-9]([-.@_a-z0-9]*[a-z0-9])?$ | ||
type: string | ||
clusterNetworkPolicy: | ||
default: false | ||
description: Whether cluster-level network policies will be applied | ||
to tenant namespaces for security purposes. | ||
type: boolean | ||
description: | ||
description: Description provides additional information about the | ||
tenant. | ||
maxLength: 200 | ||
type: string | ||
fullName: | ||
description: Full name of the tenant. | ||
maxLength: 80 | ||
type: string | ||
initialRequest: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: |- | ||
This represents the initial resource allocation for the tenant. If not specified, the tenant resource | ||
quota will not be created. | ||
type: object | ||
url: | ||
description: Website of the tenant. | ||
maxLength: 2000 | ||
pattern: ^(https?://)?([\da-z\.-]+)\.([a-z\.]{2,6})([/\w \.-]*)*/?$ | ||
type: string | ||
required: | ||
- admin | ||
- fullName | ||
- initialRequest | ||
- url | ||
type: object | ||
status: | ||
description: TenantStatus defines the observed state of Tenant | ||
properties: | ||
failed: | ||
description: Failed sets the backoff limit. | ||
type: integer | ||
message: | ||
description: Additional description can be located here. | ||
type: string | ||
state: | ||
description: The state can be Established or Failed. | ||
type: string | ||
required: | ||
- failed | ||
- message | ||
- state | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
--- | ||
apiVersion: v1 | ||
data: | ||
maxmind_accountid: "" | ||
maxmind_token: "" | ||
kind: Secret | ||
metadata: | ||
name: maxmind-secret | ||
namespace: edgenet-system | ||
type: Opaque |
Oops, something went wrong.