Skip to content

Commit

Permalink
Tag roles for master and data (helm#10337)
Browse files Browse the repository at this point in the history
This follows role conventions seen in other Helm charts and allows graphing to break out activity stats per role

Signed-off-by: Ben Klang <[email protected]>
  • Loading branch information
bklang authored and wgiddens committed Jan 18, 2019
1 parent 76b878b commit b1eeb30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/elasticsearch/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: elasticsearch
home: https://www.elastic.co/products/elasticsearch
version: 1.15.2
version: 1.15.3
appVersion: 6.5.4
description: Flexible and powerful open source, distributed real-time search and analytics
engine.
Expand Down
1 change: 1 addition & 0 deletions stable/elasticsearch/templates/data-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
app: {{ template "elasticsearch.name" . }}
component: "{{ .Values.data.name }}"
release: {{ .Release.Name }}
role: data
{{- if .Values.data.podAnnotations }}
annotations:
{{ toYaml .Values.data.podAnnotations | indent 8 }}
Expand Down
1 change: 1 addition & 0 deletions stable/elasticsearch/templates/master-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
app: {{ template "elasticsearch.name" . }}
component: "{{ .Values.master.name }}"
release: {{ .Release.Name }}
role: master
{{- if .Values.master.podAnnotations }}
annotations:
{{ toYaml .Values.master.podAnnotations | indent 8 }}
Expand Down

0 comments on commit b1eeb30

Please sign in to comment.