From e6773e77fdf0a625a336d7ae5975e13afaccc963 Mon Sep 17 00:00:00 2001 From: Cayla Fauver Date: Fri, 25 Aug 2023 09:09:20 -0400 Subject: [PATCH] helm: update cronjob args argument to avoid unmarshal error Make it match both the deployment parallel https://github.com/kubernetes-sigs/descheduler/blob/33e9a52385394a3f4b2cb55bdf717fe52f1a852f/charts/descheduler/templates/cronjob.yaml#L71 As well as the documented arg https://github.com/kubernetes-sigs/descheduler/blob/master/docs/user-guide.md#balance-cluster-by-pod-age --- charts/descheduler/templates/cronjob.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}