-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
938 additions
and
5 deletions.
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
78 changes: 78 additions & 0 deletions
78
charts/netris-operator/crds/k8s.netris.ai_controllermeta.yaml
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,78 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.6.1 | ||
creationTimestamp: null | ||
name: controllermeta.k8s.netris.ai | ||
spec: | ||
group: k8s.netris.ai | ||
names: | ||
kind: ControllerMeta | ||
listKind: ControllerMetaList | ||
plural: controllermeta | ||
singular: controllermeta | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ControllerMeta is the Schema for the controllermeta 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: ControllerMetaSpec defines the desired state of ControllerMeta | ||
properties: | ||
controllerGeneration: | ||
format: int64 | ||
type: integer | ||
controllerName: | ||
type: string | ||
description: | ||
type: string | ||
id: | ||
type: integer | ||
imported: | ||
type: boolean | ||
mainIp: | ||
type: string | ||
reclaimPolicy: | ||
type: boolean | ||
site: | ||
type: integer | ||
tenant: | ||
type: integer | ||
required: | ||
- controllerGeneration | ||
- controllerName | ||
- id | ||
- imported | ||
- reclaimPolicy | ||
type: object | ||
status: | ||
description: ControllerMetaStatus defines the observed state of ControllerMeta | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
83 changes: 83 additions & 0 deletions
83
charts/netris-operator/crds/k8s.netris.ai_controllers.yaml
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,83 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.6.1 | ||
creationTimestamp: null | ||
name: controllers.k8s.netris.ai | ||
spec: | ||
group: k8s.netris.ai | ||
names: | ||
kind: Controller | ||
listKind: ControllerList | ||
plural: controllers | ||
singular: controller | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .spec.tenant | ||
name: Tenant | ||
type: string | ||
- jsonPath: .spec.site | ||
name: Site | ||
type: string | ||
- jsonPath: .spec.mainIp | ||
name: Main IP | ||
type: string | ||
- jsonPath: .status.status | ||
name: Status | ||
type: string | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Controller is the Schema for the controllers 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: ControllerSpec defines the desired state of Controller | ||
properties: | ||
description: | ||
type: string | ||
mainIp: | ||
pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$ | ||
type: string | ||
site: | ||
type: string | ||
tenant: | ||
type: string | ||
type: object | ||
status: | ||
description: ControllerStatus defines the observed state of Controller | ||
properties: | ||
message: | ||
type: string | ||
status: | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
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,78 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.6.1 | ||
creationTimestamp: null | ||
name: linkmeta.k8s.netris.ai | ||
spec: | ||
group: k8s.netris.ai | ||
names: | ||
kind: LinkMeta | ||
listKind: LinkMetaList | ||
plural: linkmeta | ||
singular: linkmeta | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: LinkMeta is the Schema for the linkmeta 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: LinkMetaSpec defines the desired state of LinkMeta | ||
properties: | ||
id: | ||
type: string | ||
imported: | ||
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster | ||
Important: Run "make" to regenerate code after modifying this file' | ||
type: boolean | ||
linkGeneration: | ||
format: int64 | ||
type: integer | ||
linkName: | ||
type: string | ||
local: | ||
type: integer | ||
reclaimPolicy: | ||
type: boolean | ||
remote: | ||
type: integer | ||
required: | ||
- id | ||
- imported | ||
- linkGeneration | ||
- linkName | ||
- local | ||
- reclaimPolicy | ||
- remote | ||
type: object | ||
status: | ||
description: LinkMetaStatus defines the observed state of LinkMeta | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
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,82 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.6.1 | ||
creationTimestamp: null | ||
name: links.k8s.netris.ai | ||
spec: | ||
group: k8s.netris.ai | ||
names: | ||
kind: Link | ||
listKind: LinkList | ||
plural: links | ||
singular: link | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .status.ports | ||
name: Ports | ||
type: string | ||
- jsonPath: .status.status | ||
name: Status | ||
type: string | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Link is the Schema for the links 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: LinkSpec defines the desired state of Link | ||
properties: | ||
ports: | ||
items: | ||
description: LinkSpecPort . | ||
type: string | ||
maxItems: 2 | ||
minItems: 2 | ||
type: array | ||
required: | ||
- ports | ||
type: object | ||
status: | ||
description: LinkStatus defines the observed state of Link | ||
properties: | ||
message: | ||
type: string | ||
ports: | ||
type: string | ||
status: | ||
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state | ||
of cluster Important: Run "make" to regenerate code after modifying | ||
this file' | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
Oops, something went wrong.