1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 13:29:11 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8af1c2b157 Merge pull request #1231 from a7i/release-1.28-cronjob-args
helm: update cronjob args argument to avoid unmarshal error
2023-08-28 00:57:23 -07:00
Cayla Fauver
e6773e77fd helm: update cronjob args argument to avoid unmarshal error
Make it match both the deployment parallel

33e9a52385/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
2023-08-25 23:58:51 -04:00

View File

@@ -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 }}