Skip to content

Commit

Permalink
Update-2022-02-15_12:19:23
Browse files Browse the repository at this point in the history
  • Loading branch information
pogossian committed Feb 15, 2022
1 parent 7031a97 commit 4dc8644
Show file tree
Hide file tree
Showing 13 changed files with 938 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/netris-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0
version: 0.6.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: v1.1.0
appVersion: v1.2.0
home: https://github.com/netrisai/netris-operator
icon: https://www.netris.ai/wp-content/uploads/2021/01/logo-300.png # [todo] Change url to permalink
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/netris-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ The following table lists the configurable parameters of the netris-operator cha
| `controllerCreds.password.key` | Netris controller password key in existing secret. Ignored if `controller.password` is set | `password` |
| `logLevel` | Log level of netris-operator. Allowed values: `info` or `debug` | `info` |
| `requeueInterval` | Requeue interval in seconds for the netris-operator | `15` |
| `calicoASNRange` | Set Nodes ASN range. Used when Netris-Operator manages Calico CNI | `4200070000-4200079999` |
| `calicoASNRange` | Set Nodes ASN range. Used when Netris-Operator manages Calico CNI | `4230000000-4239999999` |
78 changes: 78 additions & 0 deletions charts/netris-operator/crds/k8s.netris.ai_controllermeta.yaml
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 charts/netris-operator/crds/k8s.netris.ai_controllers.yaml
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: []
78 changes: 78 additions & 0 deletions charts/netris-operator/crds/k8s.netris.ai_linkmeta.yaml
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: []
82 changes: 82 additions & 0 deletions charts/netris-operator/crds/k8s.netris.ai_links.yaml
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: []
Loading

0 comments on commit 4dc8644

Please sign in to comment.