Merge "Fix elasticsearch curator file entry in configmap"

This commit is contained in:
Zuul 2017-12-19 20:54:02 +00:00 committed by Gerrit Code Review
commit 770a53521d
4 changed files with 8 additions and 9 deletions

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
{{/*
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" }}
log4j2.properties: |+
{{- 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 }}
config.yml:
config.yml: |-
{{ toYaml .Values.conf.curator.config | indent 4 }}
{{- end }}

@ -24,7 +24,7 @@ kind: CronJob
metadata:
name: curator
spec:
schedule: {{ .Values.conf.curator.schedule }}
schedule: {{ .Values.conf.curator.schedule | quote }}
jobTemplate:
metadata:
labels:

@ -133,9 +133,9 @@ conf:
init:
max_map_count: 262144
curator:
schedule: 1 0 * * *
action_file: |
---
#runs weekly
schedule: "0 0 * * 0"
action_file:
# Remember, leave a key empty if there is no value. None will be a string,
# not a Python "NoneType"
#
@ -161,8 +161,7 @@ conf:
stats_result:
epoch:
exclude: False
config: |
---
config:
# Remember, leave a key empty if there is no value. None will be a string,
# not a Python "NoneType"
client: