diff --git a/charts/descheduler/templates/cronjob.yaml b/charts/descheduler/templates/cronjob.yaml index 67b0b441df..15c773ed1a 100644 --- a/charts/descheduler/templates/cronjob.yaml +++ b/charts/descheduler/templates/cronjob.yaml @@ -68,7 +68,7 @@ spec: command: {{- toYaml .Values.command | nindent 16 }} args: - - --policy-config-file: "/policy-dir/policy.yaml" + - --policy-config-file=/policy-dir/policy.yaml {{- range $key, $value := .Values.cmdOptions }} - {{ printf "--%s" $key }}{{ if $value }}={{ $value }}{{ end }} {{- end }}