1 # Copyright © 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
20 mountPath: /dockerdata-nfs
22 mountPath: /dockerdata-nfs/backup
24 clusterName: cluster.local
25 repositoryOverride: docker.io
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
30 ## Elasticsearch curator parameters
34 image: bitnami/elasticsearch-curator:5.8.1-debian-9-r74
35 pullPolicy: IfNotPresent
36 ## Optionally specify an array of imagePullSecrets.
37 ## Secrets must be manually created in the namespace.
38 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
41 # - myRegistryKeySecretName
49 failedJobsHistoryLimit: ""
50 successfulJobsHistoryLimit: ""
51 jobRestartPolicy: Never
54 # Specifies whether RBAC should be enabled
57 # Specifies whether a ServiceAccount should be created
59 # The name of the ServiceAccount to use.
60 # If not set and create is true, a name is generated using the fullname template
63 # Specifies whether a podsecuritypolicy should be created
68 # run curator in dry-run mode
73 # Delete indices older than 90 days
78 action: delete_indices
79 description: "Clean up ES by deleting old indices"
82 continue_if_exception: False
84 ignore_empty_list: True
89 timestring: '%Y.%m.%d'
96 # Default config (this value is evaluated as a template)
101 {{ template "common.fullname" . }}.{{ template "common.namespace" . }}.svc.{{ .Values.global.clusterName }}
102 port: {{ .Values.service.port }}
108 # ssl_no_validate: True
116 # blacklist: ['elasticsearch', 'urllib3']
117 ## Curator resources requests and limits
118 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
121 # We usually recommend not to specify default resources and to leave this as a conscious
122 # choice for the user. This also increases chances charts run on environments with little
123 # resources, such as Minikube. If you do want to specify resources, uncomment the following
124 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
131 priorityClassName: ""
132 # extraVolumes and extraVolumeMounts allows you to mount other volumes
133 # Example Use Case: mount ssl certificates when elasticsearch has tls enabled
138 # secretName: es-certs
143 ## Add your own init container or uncomment and modify the given example.
145 extraInitContainers: {}
146 ## Don't configure S3 repository till Elasticsearch is reachable.
147 ## Ensure that it is available at http://elasticsearch:9200
149 # elasticsearch-s3-repository:
150 # image: bitnami/minideb:latest
151 # imagePullPolicy: "IfNotPresent"
157 # ES_HOST=elasticsearch
159 # ES_REPOSITORY=backup
160 # S3_REGION=us-east-1
162 # S3_BASE_PATH=backup
164 # S3_STORAGE_CLASS=standard
165 # install_packages curl && \
166 # ( counter=0; while (( counter++ < 120 )); do curl -s http://${ES_HOST}:${ES_PORT} >/dev/null 2>&1 && break; echo "Waiting for elasticsearch $counter/120"; sleep 1; done ) && \
167 # cat <<EOF | curl -sS -XPUT -H "Content-Type: application/json" -d @- http://${ES_HOST}:${ES_PORT}/_snapshot/${ES_REPOSITORY} \
171 # "bucket": "${S3_BUCKET}",
172 # "base_path": "${S3_BASE_PATH}",
173 # "region": "${S3_REGION}",
174 # "compress": "${S3_COMPRESS}",
175 # "storage_class": "${S3_STORAGE_CLASS}"