diff --git a/charts/cloudstack-csi/Chart.yaml b/charts/cloudstack-csi/Chart.yaml index a0bbb22..aec9c00 100644 --- a/charts/cloudstack-csi/Chart.yaml +++ b/charts/cloudstack-csi/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: cloudstack-csi description: A Helm chart for CloudStack CSI driver type: application -version: 2.0.0 -appVersion: 0.6.0 +version: 2.0.1 +appVersion: 0.6.1 sources: - https://github.com/Leaseweb/cloudstack-csi-driver keywords: diff --git a/charts/cloudstack-csi/templates/syncer-job.yaml b/charts/cloudstack-csi/templates/syncer-job.yaml index 19cfa92..d226a25 100644 --- a/charts/cloudstack-csi/templates/syncer-job.yaml +++ b/charts/cloudstack-csi/templates/syncer-job.yaml @@ -19,9 +19,9 @@ spec: securityContext: {{- toYaml .Values.syncer.podSecurityContext | nindent 8 }} serviceAccountName: {{ .Values.syncer.serviceAccount.name }} tolerations: - { { - with .Values.node.tolerations } } - { { - toYaml . | nindent 8 } } - { { - end } } + {{- with .Values.node.tolerations }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.syncer.affinity }} affinity: {{- toYaml . | nindent 8 }} {{- end }} @@ -68,4 +68,4 @@ spec: path: /etc/cloudstack-csi-driver {{- end }} restartPolicy: {{ .Values.syncer.restartPolicy }} -{{- end }} \ No newline at end of file +{{- end }}