Skip to content

Commit

Permalink
Updated default labels to always include app.kubernetes.io/version
Browse files Browse the repository at this point in the history
  • Loading branch information
mway-niels committed Mar 13, 2024
1 parent c3aa83d commit 6de56ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/relution/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Common labels
{{- define "relution.labels" -}}
helm.sh/chart: {{ include "relution.chart" . }}
{{ include "relution.selectorLabels" . }}
{{- if .Values.image.tag }}
app.kubernetes.io/version: {{ .Values.image.tag | quote }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
Expand Down

0 comments on commit 6de56ad

Please sign in to comment.