mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/elasticsearch-curator] Fixed values for helm hooks and added CI test for it (#19186)
* Make helm hook job object have the same command as the CronJob Signed-off-by: Mihai Anei <mihai.anei@gmail.com> * Fixed parsing of helm hook job command. Added ci values for testing them Signed-off-by: Mihai Anei <mihai.anei@gmail.com> * Add CI test for default values of the chart Signed-off-by: Mihai Anei <mihai.anei@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
ceda4dc77b
commit
547da1439e
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "5.7.6"
|
||||
description: A Helm chart for Elasticsearch Curator
|
||||
name: elasticsearch-curator
|
||||
version: 2.1.2
|
||||
version: 2.1.3
|
||||
home: https://github.com/elastic/curator
|
||||
keywords:
|
||||
- curator
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
# Leave this file empty to ensure that CI runs builds against the default configuration in values.yaml.
|
||||
@@ -0,0 +1,5 @@
|
||||
# Testing hooks are generated properly
|
||||
|
||||
hooks:
|
||||
install: true
|
||||
upgrade: true
|
||||
@@ -49,9 +49,9 @@ spec:
|
||||
{{- if $.Values.extraVolumeMounts }}
|
||||
{{ toYaml $.Values.extraVolumeMounts | indent 12 }}
|
||||
{{- end }}
|
||||
{{ if .Values.command }}
|
||||
{{ if $.Values.command }}
|
||||
command:
|
||||
{{ toYaml .Values.command | indent 12 }}
|
||||
{{ toYaml $.Values.command | indent 12 }}
|
||||
{{- end }}
|
||||
args: [ "--config", "/etc/es-curator/config.yml", "/etc/es-curator/action_file.yml" ]
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user