Skip to content

Commit

Permalink
Added additionalLabels to chart
Browse files Browse the repository at this point in the history
  • Loading branch information
tammert committed Apr 21, 2021
1 parent fc280b7 commit c2d2772
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion replicant/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ description: Official Helm chart for Replicant

type: application

version: 0.2.3
version: 0.2.4
appVersion: "v0.2.2"
3 changes: 3 additions & 0 deletions replicant/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ helm.sh/chart: {{ include "replicant.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.additionalLabels }}
{{ toYaml .Values.additionalLabels }}
{{- end }}
{{- end }}

{{- define "replicant.selectorLabels" -}}
Expand Down
4 changes: 4 additions & 0 deletions replicant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ environmentVariables:
# destination: eu.gcr.io/tammert/velero/velero
# mode: semver
# allow-prerelease: true

#additionalLabels:
# bob: alice
# foo: bar

0 comments on commit c2d2772

Please sign in to comment.