Fix schema for env variables
Operator expects a {name,value} object, so we were unable to set envs with the existing CRD schema Change-Id: Icf81caea3e141c56b0669e901dd1175c2b3465fe
This commit is contained in:
parent
b723bc761b
commit
fef7c272f7
@ -23,6 +23,9 @@ spec:
|
|||||||
externalConfig:
|
externalConfig:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
secretName: nodepool-kube-config
|
secretName: nodepool-kube-config
|
||||||
|
# env:
|
||||||
|
# - name: EXAMPLE
|
||||||
|
# value: example
|
||||||
#
|
#
|
||||||
# uncomment the following if the k8s cluster has less than 3 nodes:
|
# uncomment the following if the k8s cluster has less than 3 nodes:
|
||||||
# database:
|
# database:
|
||||||
|
@ -61,8 +61,14 @@ spec:
|
|||||||
storageClassName:
|
storageClassName:
|
||||||
type: string
|
type: string
|
||||||
env:
|
env:
|
||||||
type: object
|
type: array
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
scheduler:
|
scheduler:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
Loading…
Reference in New Issue
Block a user