Skip to content

Commit

Permalink
Merge pull request #108 from orrshilon/add-custom-pod-labels
Browse files Browse the repository at this point in the history
Custom labels for all pods
  • Loading branch information
Tomasz Czekajlo authored Dec 1, 2020
2 parents ff851b0 + 41b7ff3 commit 915cf67
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/rasa-x/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2

version: "1.7.10"
version: "1.7.11"

appVersion: "0.33.0"

Expand Down
3 changes: 3 additions & 0 deletions charts/rasa-x/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ helm.sh/chart: {{ include "rasa-x.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.global.additionalDeploymentLabels -}}
{{ toYaml .Values.global.additionalDeploymentLabels }}
{{- end -}}
{{- end -}}

{{/*
Expand Down
4 changes: 4 additions & 0 deletions charts/rasa-x/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -722,3 +722,7 @@ global:
redis:
# password to use in case there no external secret was provided
password: "redis-password"

# additionalDeploymentLabels can be used to map organizational structures onto system objects
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
additionalDeploymentLabels: {}

0 comments on commit 915cf67

Please sign in to comment.