diff --git a/deploy/helm/charts/templates/deployment.yaml b/deploy/helm/charts/templates/deployment.yaml index cc0f86dd..6611f3ba 100644 --- a/deploy/helm/charts/templates/deployment.yaml +++ b/deploy/helm/charts/templates/deployment.yaml @@ -33,8 +33,8 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: - {{- with .Values.localpv.priorityClassName }} - priorityClassName: {{ . }} + {{- if .Values.localpv.priorityClassName }} + priorityClassName: {{ tpl .Values.localpv.priorityClassName . }} {{- end }} {{- with .Values.imagePullSecrets }} imagePullSecrets: