mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[Incubator/elasticsearch-curator] fix nodeSelector, tolerations, affinity (#7273)
* fix nodeSelector, tolerations, affinity * fix namespace param * bump chart version * add job labels
This commit is contained in:
committed by
k8s-ci-robot
parent
180acb186e
commit
b520660b6b
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "5.5.4"
|
||||
description: A Helm chart for Elasticsearch Curator
|
||||
name: elasticsearch-curator
|
||||
version: 0.4.0
|
||||
version: 0.4.1
|
||||
home: https://github.com/elastic/curator
|
||||
keywords:
|
||||
- curator
|
||||
|
||||
@@ -3,4 +3,4 @@ A CronJob will run with schedule {{ .Values.cronjob.schedule }}.
|
||||
The Jobs will not be removed automagically when deleting this Helm chart.
|
||||
To remove these jobs, run the following :
|
||||
|
||||
kubectl -n logging delete job -l app={{ template "elasticsearch-curator.name" . }}
|
||||
kubectl -n {{ .Release.Namespace }} delete job -l app={{ template "elasticsearch-curator.name" . }},release={{ .Release.Name }}
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
chart: {{ template "elasticsearch-curator.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
annotations:
|
||||
annotations:
|
||||
{{ toYaml .Values.cronjob.annotations | indent 4 }}
|
||||
spec:
|
||||
schedule: "{{ .Values.cronjob.schedule }}"
|
||||
@@ -21,13 +21,17 @@ spec:
|
||||
successfulJobsHistoryLimit: {{ . }}
|
||||
{{- end }}
|
||||
jobTemplate:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "elasticsearch-curator.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "elasticsearch-curator.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
annotations:
|
||||
annotations:
|
||||
{{ toYaml .Values.pod.annotations | indent 12 }}
|
||||
spec:
|
||||
volumes:
|
||||
@@ -56,14 +60,14 @@ spec:
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 16 }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
nodeSelector:
|
||||
{{ toYaml . | indent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
affinity:
|
||||
{{ toYaml . | indent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
tolerations:
|
||||
{{ toYaml . | indent 12 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user