Make helm hook job object have the same command as the CronJob (#19090)

Signed-off-by: Mihai Anei <mihai.anei@gmail.com>
This commit is contained in:
lebenitza
2019-11-25 07:54:14 -08:00
committed by Kubernetes Prow Robot
parent b30b2fc25f
commit d2066ea0fe
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "5.7.6"
description: A Helm chart for Elasticsearch Curator
name: elasticsearch-curator
version: 2.1.1
version: 2.1.2
home: https://github.com/elastic/curator
keywords:
- curator
@@ -49,7 +49,10 @@ spec:
{{- if $.Values.extraVolumeMounts }}
{{ toYaml $.Values.extraVolumeMounts | indent 12 }}
{{- end }}
command: [ "curator" ]
{{ if .Values.command }}
command:
{{ toYaml .Values.command | indent 12 }}
{{- end }}
args: [ "--config", "/etc/es-curator/config.yml", "/etc/es-curator/action_file.yml" ]
resources:
{{ toYaml $.Values.resources | indent 12 }}