Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 30 additions & 40 deletions manifests/controllers/srlinux/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -93,6 +98,7 @@ spec:
type: integer
type: object
command:
description: Command to pass into pod.
items:
type: string
type: array
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down