We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
with
if
1 parent 01fe6ae commit 9db4e08Copy full SHA for 9db4e08
charts/aws-fsx-csi-driver/templates/controller-deployment.yaml
@@ -19,8 +19,8 @@ spec:
19
labels:
20
app: fsx-csi-controller
21
{{- include "aws-fsx-csi-driver.labels" . | nindent 8 }}
22
- {{- with .Values.controller.podLabels }}
23
- {{- toYaml . | nindent 8 }}
+ {{- if .Values.controller.podLabels }}
+ {{- toYaml .Values.controller.podLabels | nindent 8 }}
24
{{- end }}
25
spec:
26
{{- if .Values.imagePullSecrets }}
charts/aws-fsx-csi-driver/templates/node-daemonset.yaml
@@ -18,8 +18,8 @@ spec:
18
app: fsx-csi-node
- {{- with .Values.node.podLabels }}
+ {{- if .Values.node.podLabels }}
+ {{- toYaml .Values.node.podLabels | nindent 8 }}
0 commit comments