Skip to content

Commit

Permalink
Merge pull request #471 from maxime1907/fixchart
Browse files Browse the repository at this point in the history
[velero] probes only when metrics are enabled
  • Loading branch information
jenting authored Jul 4, 2023
2 parents 5ae2a83 + d5364cc commit 6172515
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.11.0
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 4.1.1
version: 4.1.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 @@ -154,12 +154,14 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.metrics.enabled }}
{{- with .Values.livenessProbe }}
livenessProbe: {{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.readinessProbe }}
readinessProbe: {{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
Expand Down

0 comments on commit 6172515

Please sign in to comment.