diff --git a/manifests/controllers/srlinux/manifest.yaml b/manifests/controllers/srlinux/manifest.yaml index 28f63258..ef1f1ccc 100644 --- a/manifests/controllers/srlinux/manifest.yaml +++ b/manifests/controllers/srlinux/manifest.yaml @@ -15,8 +15,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.10.0 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.16.5 name: srlinuxes.kne.srlinux.dev spec: group: kne.srlinux.dev @@ -49,14 +48,19 @@ spec: description: Srlinux is the Schema for the srlinuxes 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' + 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' + 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 license_key: description: license key from license secret that contains a license file @@ -71,6 +75,7 @@ spec: description: NodeConfig represents srlinux node configuration parameters. properties: args: + description: Command args to pass into the pod. items: type: string type: array @@ -93,6 +98,7 @@ spec: type: integer type: object command: + description: Command to pass into pod. items: type: string type: array @@ -117,8 +123,14 @@ spec: description: Map of environment variables to pass into the pod. type: object image: + description: Container image to use with for the SR Linux container. + type: string + init-image: + description: Init container image to use with for the SR Linux + container. type: string sleep: + description: Sleep time before starting the pod. format: int32 type: integer type: object @@ -132,9 +144,9 @@ spec: num-interfaces: type: integer version: - description: Version may be set in kne topology as a mean to explicitly - provide version information in case it is not encoded in the image - tag + description: |- + Version may be set in kne topology as a mean to explicitly provide version information + in case it is not encoded in the image tag type: string type: object status: @@ -144,9 +156,9 @@ spec: description: Image used to run srlinux pod type: string ready: - description: Ready is true if the srlinux NOS is ready to receive - config. This is when management server is running and initial commit - is processed. + description: |- + Ready is true if the srlinux NOS is ready to receive config. + This is when management server is running and initial commit is processed. type: boolean startup-config: description: StartupConfig contains the status of the startup-config. @@ -157,8 +169,9 @@ spec: type: string type: object status: - description: 'Status is the status of the srlinux custom resource. - Can be one of: "created", "running", "error".' + description: |- + Status is the status of the srlinux custom resource. + Can be one of: "created", "running", "error". type: string type: object type: object @@ -228,36 +241,13 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null name: srlinux-controller-manager-role rules: - apiGroups: - "" resources: - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - pods - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - secrets verbs: - create @@ -490,7 +480,7 @@ spec: - --leader-elect command: - /manager - image: ghcr.io/srl-labs/srl-controller:v0.6.1 + image: ghcr.io/srl-labs/srl-controller:v0.7.1 livenessProbe: httpGet: path: /healthz