Skip to content

Commit

Permalink
fix(velero): do not set default probes
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
  • Loading branch information
maxime1907 committed Jun 30, 2023
1 parent 90450f6 commit 494688c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
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.0
version: 4.1.1
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
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
40 changes: 20 additions & 20 deletions charts/velero/values.yaml
Expand Up @@ -90,28 +90,28 @@ priorityClassName: ""
terminationGracePeriodSeconds: 3600

# Liveness probe of the pod
livenessProbe:
httpGet:
path: /metrics
port: http-monitoring
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
livenessProbe: {}
# httpGet:
# path: /metrics
# port: http-monitoring
# scheme: HTTP
# initialDelaySeconds: 10
# periodSeconds: 30
# timeoutSeconds: 5
# successThreshold: 1
# failureThreshold: 5

# Readiness probe of the pod
readinessProbe:
httpGet:
path: /metrics
port: http-monitoring
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
readinessProbe: {}
# httpGet:
# path: /metrics
# port: http-monitoring
# scheme: HTTP
# initialDelaySeconds: 10
# periodSeconds: 30
# timeoutSeconds: 5
# successThreshold: 1
# failureThreshold: 5

# Tolerations to use for the Velero deployment. Optional.
tolerations: []
Expand Down

0 comments on commit 494688c

Please sign in to comment.