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:
|
||||
kubernetes:
|
||||
secretName: nodepool-kube-config
|
||||
# env:
|
||||
# - name: EXAMPLE
|
||||
# value: example
|
||||
#
|
||||
# uncomment the following if the k8s cluster has less than 3 nodes:
|
||||
# database:
|
||||
|
@ -61,8 +61,14 @@ spec:
|
||||
storageClassName:
|
||||
type: string
|
||||
env:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
scheduler:
|
||||
type: object
|
||||
properties:
|
||||
|
Loading…
Reference in New Issue
Block a user