[bitnami/elasticsearch] deprecate elasticsearch-curator (#11037)

* deprecate elastic-curator

Signed-off-by: mauraza <gibone@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* review changes

Signed-off-by: mauraza <gibone@vmware.com>

Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Ibone González Mauraza
2022-07-06 17:02:00 +02:00
committed by GitHub
parent 1c3b624f23
commit c5e003d828
12 changed files with 12 additions and 816 deletions

View File

@@ -1696,294 +1696,6 @@ ingest:
##
extraRules: []
## @section Elasticsearch curator parameters
## Elasticsearch Curator parameters
##
curator:
## @param curator.enabled Enable Elasticsearch Curator cron job
##
enabled: false
## @param curator.nameOverride String to partially override elasticsearch.curator.fullname
##
nameOverride: ""
## @param curator.fullnameOverride String to fully override elasticsearch.curator.fullname
##
fullnameOverride: ""
## @param curator.hooks [object] Whether to run job on selected hooks
##
hooks:
install: false
upgrade: false
## @param curator.dryRun Run Curator in dry-run mode
##
dryRun: false
## @param curator.jobAnnotations Annotations to add to the job
##
jobAnnotations: {}
## @param curator.jobLabels Annotations to add to the job
##
jobLabels: {}
## @param curator.image.registry Elasticsearch Curator image registry
## @param curator.image.repository Elasticsearch Curator image repository
## @param curator.image.tag Elasticsearch Curator image tag
## @param curator.image.pullPolicy Elasticsearch Curator image pull policy
## @param curator.image.pullSecrets Elasticsearch Curator image pull secrets
##
image:
registry: docker.io
repository: bitnami/elasticsearch-curator
tag: 5.8.4-debian-11-r9
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets: []
## @param curator.cronjob.schedule Schedule for the CronJob
## @param curator.cronjob.concurrencyPolicy `Allow,Forbid,Replace` concurrent jobs
## @param curator.cronjob.failedJobsHistoryLimit Specify the number of failed Jobs to keep
## @param curator.cronjob.successfulJobsHistoryLimit Specify the number of completed Jobs to keep
## @param curator.cronjob.jobRestartPolicy Control the Job restartPolicy
## @param curator.cronjob.cronjobAnnotations Annotations to add to the cronjob
## @param curator.cronjob.cronjobLabels Annotations to add to the cronjob
## @param curator.cronjob.jobAnnotations Annotations to add to the job template
## @param curator.cronjob.jobLabels Annotations to add to the job template
##
cronjob:
## At 01:00 every day
schedule: "0 1 * * *"
concurrencyPolicy: ""
failedJobsHistoryLimit: ""
successfulJobsHistoryLimit: ""
jobRestartPolicy: Never
cronjobAnnotations: {}
cronjobLabels: {}
jobAnnotations: {}
jobLabels: {}
## Configure Curator cronjob Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param curator.podSecurityContext.enabled Enabled Curator jobs' Security Context
## @param curator.podSecurityContext.fsGroup Set Curator pod's Security Context fsGroup
##
podSecurityContext:
enabled: true
fsGroup: 1001
## Configure Container Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param curator.containerSecurityContext.enabled Enabled Curator containers' Security Context
## @param curator.containerSecurityContext.runAsUser Set Curator containers' Security Context runAsUser
## @param curator.containerSecurityContext.runAsNonRoot Set Curator containers' Security Context runAsNonRoot
##
containerSecurityContext:
enabled: true
runAsUser: 1001
runAsNonRoot: true
## @param curator.hostAliases Curator pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases: []
## @param curator.podAnnotations Annotations to add to the pod
##
podAnnotations: {}
## @param curator.podLabels Extra labels to add to Pod
##
podLabels: {}
## @param curator.podAffinityPreset Curator Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAffinityPreset: ""
## @param curator.podAntiAffinityPreset Curator Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAntiAffinityPreset: ""
## Node affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
## @param curator.nodeAffinityPreset.type Curator Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
## @param curator.nodeAffinityPreset.key Curator Node label key to match Ignored if `affinity` is set.
## @param curator.nodeAffinityPreset.values Curator Node label values to match. Ignored if `affinity` is set.
##
nodeAffinityPreset:
type: ""
## E.g.
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## @param curator.affinity Curator Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## @param curator.nodeSelector Curator Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## @param curator.tolerations Curator Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## @param curator.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
##
topologySpreadConstraints: []
## @param curator.priorityClassName Curator Pods Priority Class Name
##
priorityClassName: ""
## @param curator.schedulerName Name of the k8s scheduler (other than default)
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName: ""
## Curator resources requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## We usually recommend not to specify default resources and to leave this as a conscious
## choice for the user. This also increases chances charts run on environments with little
## resources, such as Minikube. If you do want to specify resources, uncomment the following
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
## @param curator.resources.limits The resources limits for the container
## @param curator.resources.requests The requested resources for the container
##
resources:
## Example:
## limits:
## cpu: 100m
## memory: 128Mi
limits: {}
## Examples:
## requests:
## cpu: 100m
## memory: 128Mi
requests: {}
## Curator configMaps
##
configMaps:
## @param curator.configMaps.action_file_yml Contents of the Curator action_file.yml. Required if curator job is enabled.
## For example, to delete indices older than 90 days:
##
## action_file_yml: |-
## ---
## actions:
## 1:
## action: delete_indices
## description: "Clean up ES by deleting old indices"
## options:
## timeout_override:
## continue_if_exception: False
## disable_action: False
## ignore_empty_list: True
## filters:
## - filtertype: age
## source: name
## direction: older
## timestring: '%Y.%m.%d'
## unit: days
## unit_count: 90
## field:
## stats_result:
## epoch:
## exclude: False
##
action_file_yml: ""
## @param curator.configMaps.config_yml [string] Contents of the Curator config.yml (overrides config)
## e.g:
## config_yml: |-
## ---
## client:
## hosts:
## - {{ template "elasticsearch.coordinating.fullname" . }}.{{ include "common.names.namespace" }}.svc.{{ .Values.clusterDomain }}
## port: {{ .Values.coordinating.service.port }}
##
config_yml: ""
## @param curator.command Override default container command (useful when using custom images)
##
command: []
## @param curator.args Override default container args (useful when using custom images)
##
args: []
## @param curator.lifecycleHooks for the Curator container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param curator.extraEnvVars Array with extra environment variables to add to Curator nodes
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars: []
## @param curator.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Curator nodes
##
extraEnvVarsCM: ""
## @param curator.extraEnvVarsSecret Name of existing Secret containing extra env vars for Curator nodes
##
extraEnvVarsSecret: ""
## @param curator.extraVolumes Extra volumes
## Example Use Case: mount ssl certificates when elasticsearch has tls enabled
## extraVolumes:
## - name: es-certs
## secret:
## defaultMode: 420
## secretName: es-certs
extraVolumes: []
## @param curator.extraVolumeMounts Mount extra volume(s)
## extraVolumeMounts:
## - name: es-certs
## mountPath: /certs
## readOnly: true
extraVolumeMounts: []
## @param curator.initContainers Extra init containers to add to the Elasticsearch coordinating-only pod(s)
##
initContainers: []
## @param curator.sidecars Extra sidecar containers to add to the Elasticsearch ingest pod(s)
##
sidecars: []
## Curator RBAC parameters
##
rbac:
## @param curator.rbac.enabled Enable RBAC resources
##
enabled: false
## @param curator.rbac.rules Custom RBAC rules to set
## e.g:
## rules:
## - apiGroups:
## - ""
## resources:
## - pods
## verbs:
## - get
## - list
##
rules: []
## Curator ServiceAccount parameters
##
serviceAccount:
## @param curator.serviceAccount.create Create a default serviceaccount for elasticsearch curator
##
create: true
## @param curator.serviceAccount.name Name for elasticsearch curator serviceaccount
## If not set and create is true, a name is generated using the fullname template
##
name: ""
## @param curator.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
## Can be set to false if pods using this serviceAccount do not need to use K8s API
##
automountServiceAccountToken: true
## @param curator.serviceAccount.annotations Additional custom annotations for the ServiceAccount
##
annotations: {}
## @param curator.psp.create Whether to create a PodSecurityPolicy. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later
##
psp:
create: false
## @section Metrics parameters