Quoting node_select_value in Ingress Controller
In most cases, the ingress controller's nodeSelector key and value are "node-role.kubernetes.io/ingress" and "true". Using quote to treat the nodeSelector value as a string. Change-Id: Ie1745629b90795e4d888d85f35565e6d6350e09b
This commit is contained in:
committed by
Seungkyu Ahn
parent
91b83aeabb
commit
a430533e6a
@@ -32,7 +32,7 @@ metadata:
|
||||
spec:
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
nodeSelector:
|
||||
{{ $envAll.Values.labels.test.node_selector_key }}: {{ $envAll.Values.labels.test.node_selector_value }}
|
||||
{{ $envAll.Values.labels.test.node_selector_key }}: {{ $envAll.Values.labels.test.node_selector_value | quote }}
|
||||
restartPolicy: Never
|
||||
initContainers:
|
||||
{{ tuple $envAll "tests" $mounts_kubernetes_keystone_webhook_tests_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user