mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-21 11:06:10 +10:00
Provide params for pod annotations for elasticsearch.
This commit is contained in:
@@ -21,6 +21,10 @@ spec:
|
||||
app: {{ template "elasticsearch.name" . }}
|
||||
release: {{ .Release.Name | quote }}
|
||||
role: "coordinating-only"
|
||||
{{- with .Values.coordinating.podAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }
|
||||
spec:
|
||||
{{- if .Values.securityContext.enabled }}
|
||||
securityContext:
|
||||
|
||||
@@ -31,6 +31,10 @@ spec:
|
||||
chart: {{ template "elasticsearch.chart" . }}
|
||||
release: {{ .Release.Name | quote }}
|
||||
role: "data"
|
||||
{{- with .Values.data.podAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }
|
||||
spec:
|
||||
{{- include "elasticsearch.imagePullSecrets" . | nindent 6 }}
|
||||
{{- if .Values.securityContext.enabled }}
|
||||
|
||||
@@ -22,6 +22,10 @@ spec:
|
||||
app: {{ template "elasticsearch.name" . }}
|
||||
release: {{ .Release.Name | quote }}
|
||||
role: "ingest"
|
||||
{{- with .Values.ingest.podAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }
|
||||
spec:
|
||||
{{- include "elasticsearch.imagePullSecrets" . | nindent 6 }}
|
||||
{{- if .Values.securityContext.enabled }}
|
||||
|
||||
@@ -23,6 +23,10 @@ spec:
|
||||
chart: {{ template "elasticsearch.chart" . }}
|
||||
release: {{ .Release.Name | quote }}
|
||||
role: "master"
|
||||
{{- with .Values.master.podAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }
|
||||
spec:
|
||||
{{- include "elasticsearch.imagePullSecrets" . | nindent 6 }}
|
||||
{{- if .Values.securityContext.enabled }}
|
||||
@@ -133,4 +137,4 @@ spec:
|
||||
name: {{ template "elasticsearch.fullname" . }}
|
||||
{{- end }}
|
||||
- name: "data"
|
||||
emptyDir: {}
|
||||
emptyDir: {}
|
||||
|
||||
@@ -23,6 +23,10 @@ spec:
|
||||
release: {{ .Release.Name | quote }}
|
||||
chart: {{ template "elasticsearch.chart" . }}
|
||||
role: "metrics"
|
||||
{{- with .Values.metrics.podAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }
|
||||
spec:
|
||||
{{- include "elasticsearch.imagePullSecrets" . | indent 6 }}
|
||||
containers:
|
||||
|
||||
@@ -85,6 +85,9 @@ master:
|
||||
annotations: {}
|
||||
# loadBalancerIP:
|
||||
|
||||
## Provide annotations for the master pods.
|
||||
podAnnotations: {}
|
||||
|
||||
## Configure resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -151,6 +154,9 @@ coordinating:
|
||||
annotations: {}
|
||||
# loadBalancerIP:
|
||||
|
||||
## Provide annotations for the coordinating pods.
|
||||
podAnnotations: {}
|
||||
|
||||
## Configure resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -189,6 +195,8 @@ data:
|
||||
antiAffinity: "soft"
|
||||
## node affinity
|
||||
# nodeAffinity:
|
||||
## Provide annotations for the data pods.
|
||||
podAnnotations: {}
|
||||
## Configure resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -268,6 +276,9 @@ ingest:
|
||||
annotations: {}
|
||||
# loadBalancerIP:
|
||||
|
||||
## Provide annotations for the ingest pods.
|
||||
podAnnotations: {}
|
||||
|
||||
## Configure resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -306,6 +317,8 @@ metrics:
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistryKeySecretName
|
||||
## Provide annotations for the metrics pods.
|
||||
podAnnotations: {}
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "9108"
|
||||
|
||||
Reference in New Issue
Block a user