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 <bklang@powerhrg.com>
  • Loading branch information
bklang authored and k8s-ci-robot committed Jan 2, 2019
1 parent dca3e8b commit f7e5f0a
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 f7e5f0a

Please sign in to comment.