Skip to content

Commit

Permalink
Merge pull request #51 from paritytech/add-default-chain-labels
Browse files Browse the repository at this point in the history
Add default statefulset/pod labels 'chain' and 'role'
  • Loading branch information
PierreBesson authored Mar 1, 2022
2 parents dcae8e5 + a2d3f0c commit 1a60a4a
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 1a60a4a

Please sign in to comment.