88f21acf34
This updates the Curator image to use version 5.6.0, which adds additional actions for use, such as the ability to shrink indices. This also adds a separate configmap and config secret for Curator, as this allows us to use separate configmap annotations on the Elasticsearch component pods to prevent Curator config updates from triggering recreation of Elasticsearch components. This helps alleviate overhead associated with Elasticsearch service restarts. Change-Id: I0aec7756b0dc09bc3981ede950dc88f821aeca4b
30 lines
887 B
YAML
30 lines
887 B
YAML
{{/*
|
|
Copyright 2019 The Openstack-Helm Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/}}
|
|
|
|
{{- if .Values.manifests.configmap_etc_curator }}
|
|
{{- $envAll := . }}
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: elastic-curator-etc
|
|
type: Opaque
|
|
data:
|
|
action_file.yml: {{ toYaml .Values.conf.curator.action_file | b64enc }}
|
|
config.yml: {{ toYaml .Values.conf.curator.config | b64enc }}
|
|
{{- end }}
|