@@ -68,6 +68,133 @@ spec:
68
68
some new feature (but do note that just because it exists in containerlab doesnt
69
69
*necessarily* mean it will be auto-working in clabernetes!
70
70
type : string
71
+ extraEnv :
72
+ description : |-
73
+ ExtraEnv is a list of additional environment variables to set on the launcher container. The
74
+ values here are applied to *all* launchers since this is the global config after all!
75
+ items :
76
+ description : EnvVar represents an environment variable present
77
+ in a Container.
78
+ properties :
79
+ name :
80
+ description : Name of the environment variable. Must be a
81
+ C_IDENTIFIER.
82
+ type : string
83
+ value :
84
+ description : |-
85
+ Variable references $(VAR_NAME) are expanded
86
+ using the previously defined environment variables in the container and
87
+ any service environment variables. If a variable cannot be resolved,
88
+ the reference in the input string will be unchanged. Double $$ are reduced
89
+ to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
90
+ "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
91
+ Escaped references will never be expanded, regardless of whether the variable
92
+ exists or not.
93
+ Defaults to "".
94
+ type : string
95
+ valueFrom :
96
+ description : Source for the environment variable's value.
97
+ Cannot be used if value is not empty.
98
+ properties :
99
+ configMapKeyRef :
100
+ description : Selects a key of a ConfigMap.
101
+ properties :
102
+ key :
103
+ description : The key to select.
104
+ type : string
105
+ name :
106
+ default : " "
107
+ description : |-
108
+ Name of the referent.
109
+ This field is effectively required, but due to backwards compatibility is
110
+ allowed to be empty. Instances of this type with an empty value here are
111
+ almost certainly wrong.
112
+ TODO: Add other useful fields. apiVersion, kind, uid?
113
+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
114
+ TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
115
+ type : string
116
+ optional :
117
+ description : Specify whether the ConfigMap or its
118
+ key must be defined
119
+ type : boolean
120
+ required :
121
+ - key
122
+ type : object
123
+ x-kubernetes-map-type : atomic
124
+ fieldRef :
125
+ description : |-
126
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
127
+ spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
128
+ properties :
129
+ apiVersion :
130
+ description : Version of the schema the FieldPath
131
+ is written in terms of, defaults to "v1".
132
+ type : string
133
+ fieldPath :
134
+ description : Path of the field to select in the
135
+ specified API version.
136
+ type : string
137
+ required :
138
+ - fieldPath
139
+ type : object
140
+ x-kubernetes-map-type : atomic
141
+ resourceFieldRef :
142
+ description : |-
143
+ Selects a resource of the container: only resources limits and requests
144
+ (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
145
+ properties :
146
+ containerName :
147
+ description : ' Container name: required for volumes,
148
+ optional for env vars'
149
+ type : string
150
+ divisor :
151
+ anyOf :
152
+ - type : integer
153
+ - type : string
154
+ description : Specifies the output format of the
155
+ exposed resources, defaults to "1"
156
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
157
+ x-kubernetes-int-or-string : true
158
+ resource :
159
+ description : ' Required: resource to select'
160
+ type : string
161
+ required :
162
+ - resource
163
+ type : object
164
+ x-kubernetes-map-type : atomic
165
+ secretKeyRef :
166
+ description : Selects a key of a secret in the pod's
167
+ namespace
168
+ properties :
169
+ key :
170
+ description : The key of the secret to select from. Must
171
+ be a valid secret key.
172
+ type : string
173
+ name :
174
+ default : " "
175
+ description : |-
176
+ Name of the referent.
177
+ This field is effectively required, but due to backwards compatibility is
178
+ allowed to be empty. Instances of this type with an empty value here are
179
+ almost certainly wrong.
180
+ TODO: Add other useful fields. apiVersion, kind, uid?
181
+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
182
+ TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
183
+ type : string
184
+ optional :
185
+ description : Specify whether the Secret or its key
186
+ must be defined
187
+ type : boolean
188
+ required :
189
+ - key
190
+ type : object
191
+ x-kubernetes-map-type : atomic
192
+ type : object
193
+ required :
194
+ - name
195
+ type : object
196
+ type : array
197
+ x-kubernetes-list-type : atomic
71
198
launcherImage :
72
199
default : ghcr.io/srl-labs/clabernetes/clabernetes-launcher:latest
73
200
description : LauncherImage sets the default launcher image to
0 commit comments