openebs: Fix syntax error
Properly indent nodeSelector field
Quote nodeSelector key and value to accomodate special characters
@@ -121,7 +121,7 @@ spec:
spec:
{{- if and .NDMSelectorLabel .NDMSelectorValue}}
nodeSelector:
- {{ .NDMSelectorLabel }}: {{ .NDMSelectorValue }}
+ "{{ .NDMSelectorLabel }}": "{{ .NDMSelectorValue }}"
{{- end }}
serviceAccountName: openebs-maya-operator
containers:
@@ -286,7 +286,7 @@ spec:
spec:
{{- if and .NDMSelectorLabel .NDMSelectorValue}}
nodeSelector:
- {{ .NDMSelectorLabel }}: {{ .NDMSelectorValue }}
+ "{{ .NDMSelectorLabel }}": "{{ .NDMSelectorValue }}"
{{- end }}
serviceAccountName: openebs-maya-operator
containers:
@@ -352,7 +352,7 @@ spec:
spec:
{{- if and .NDMSelectorLabel .NDMSelectorValue}}
nodeSelector:
- {{ .NDMSelectorLabel }}: {{ .NDMSelectorValue }}
+ "{{ .NDMSelectorLabel }}": "{{ .NDMSelectorValue }}"
{{- end }}
serviceAccountName: openebs-maya-operator
containers:
@@ -473,7 +473,7 @@ spec:
# "openebs.io/nodegroup": "storage-node"
{{- if and .NDMSelectorLabel .NDMSelectorValue}}
nodeSelector:
- {{ .NDMSelectorLabel }}: {{ .NDMSelectorValue }}
+ "{{ .NDMSelectorLabel }}": "{{ .NDMSelectorValue }}"
{{- end }}
serviceAccountName: openebs-maya-operator
hostNetwork: true
