Fix elasticsearch curator file entry in configmap
Fixes an issue preventing the elastic curator configuration being populated via elasticsearch's values.yaml Change-Id: I74901c1aa99abc56a06ea95ca9ea9d818761d79b
This commit is contained in:
parent
8d309f5cff
commit
1753d19a68
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
{{/*
|
{{/*
|
||||||
Copyright 2017 The Openstack-Helm Authors.
|
Copyright 2017 The Openstack-Helm Authors.
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@ data:
|
|||||||
{{- tuple .Values.conf.elasticsearch "etc/_elasticsearch.yml.tpl" . | include "helm-toolkit.utils.configmap_templater" }}
|
{{- tuple .Values.conf.elasticsearch "etc/_elasticsearch.yml.tpl" . | include "helm-toolkit.utils.configmap_templater" }}
|
||||||
log4j2.properties: |+
|
log4j2.properties: |+
|
||||||
{{- tuple .Values.conf.elasticsearch "etc/_log4j2.properties.tpl" . | include "helm-toolkit.utils.configmap_templater" }}
|
{{- tuple .Values.conf.elasticsearch "etc/_log4j2.properties.tpl" . | include "helm-toolkit.utils.configmap_templater" }}
|
||||||
action_file.yml:
|
action_file.yml: |-
|
||||||
{{ toYaml .Values.conf.curator.action_file | indent 4 }}
|
{{ toYaml .Values.conf.curator.action_file | indent 4 }}
|
||||||
config.yml:
|
config.yml: |-
|
||||||
{{ toYaml .Values.conf.curator.config | indent 4 }}
|
{{ toYaml .Values.conf.curator.config | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -24,7 +24,7 @@ kind: CronJob
|
|||||||
metadata:
|
metadata:
|
||||||
name: curator
|
name: curator
|
||||||
spec:
|
spec:
|
||||||
schedule: {{ .Values.conf.curator.schedule }}
|
schedule: {{ .Values.conf.curator.schedule | quote }}
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -133,9 +133,9 @@ conf:
|
|||||||
init:
|
init:
|
||||||
max_map_count: 262144
|
max_map_count: 262144
|
||||||
curator:
|
curator:
|
||||||
schedule: 1 0 * * *
|
#runs weekly
|
||||||
action_file: |
|
schedule: "0 0 * * 0"
|
||||||
---
|
action_file:
|
||||||
# Remember, leave a key empty if there is no value. None will be a string,
|
# Remember, leave a key empty if there is no value. None will be a string,
|
||||||
# not a Python "NoneType"
|
# not a Python "NoneType"
|
||||||
#
|
#
|
||||||
@ -161,8 +161,7 @@ conf:
|
|||||||
stats_result:
|
stats_result:
|
||||||
epoch:
|
epoch:
|
||||||
exclude: False
|
exclude: False
|
||||||
config: |
|
config:
|
||||||
---
|
|
||||||
# Remember, leave a key empty if there is no value. None will be a string,
|
# Remember, leave a key empty if there is no value. None will be a string,
|
||||||
# not a Python "NoneType"
|
# not a Python "NoneType"
|
||||||
client:
|
client:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user