Skip to content

Commit

Permalink
add default statefulset/pod labels 'chain' and 'role'
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBesson committed Mar 1, 2022
1 parent dcae8e5 commit a2d3f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: node
description: A Helm chart to deploy Substrate/Polkadot nodes
type: application
version: 1.1.0
version: 1.1.1
appVersion: "0.0.1"
2 changes: 2 additions & 0 deletions charts/node/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ helm.sh/chart: {{ include "node.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
chain: {{ .Values.node.chain }}
role: {{ .Values.node.role }}
{{- with .Values.extraLabels }}
{{ toYaml . }}
{{- end }}
Expand Down

0 comments on commit a2d3f0c

Please sign in to comment.