Skip to content

Commit

Permalink
[velero] Add version label to deployment (#624)
Browse files Browse the repository at this point in the history
* fix: render schedule annotations only if present in values (#616)

Signed-off-by: Max Xu <[email protected]>
Signed-off-by: Wyatt Fry <[email protected]>

* Add Kubernetes-recommended Version Label

Signed-off-by: Wyatt Fry <[email protected]>

* Bump chart version

Signed-off-by: Wyatt Fry <[email protected]>

---------

Signed-off-by: Max Xu <[email protected]>
Signed-off-by: Wyatt Fry <[email protected]>
Co-authored-by: Max Xu <[email protected]>
Co-authored-by: Wyatt Fry <[email protected]>
  • Loading branch information
3 people authored Oct 30, 2024
1 parent 47b2f72 commit bbb36cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.14.1
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 7.2.1
version: 7.2.2
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
2 changes: 2 additions & 0 deletions charts/velero/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
app.kubernetes.io/name: {{ include "velero.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
helm.sh/chart: {{ include "velero.chart" . }}
component: velero
{{- with .Values.labels }}
Expand All @@ -36,6 +37,7 @@ spec:
app.kubernetes.io/name: {{ include "velero.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
helm.sh/chart: {{ include "velero.chart" . }}
{{- if .Values.podLabels }}
{{- toYaml .Values.podLabels | nindent 8 }}
Expand Down

0 comments on commit bbb36cc

Please sign in to comment.