Skip to content

Commit

Permalink
expose liveness probe values to be passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhav-ak committed May 2, 2024
1 parent 94fed37 commit 4eb7823
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/aws-efs-csi-driver/templates/node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,17 @@ spec:
httpGet:
path: /healthz
port: healthz
{{- if .Values.node.livenessProbe }}
initialDelaySeconds: {{ .Values.node.livenessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.node.livenessProbe.timeoutSeconds }}
periodSeconds: {{ .Values.node.livenessProbe.periodSeconds }}
failureThreshold: {{ .Values.node.livenessProbe.failureThreshold }}
{{- else }}
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 2
failureThreshold: 5
{{- end }}
{{- with .Values.node.resources }}
resources: {{ toYaml . | nindent 12 }}
{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ node:
# - 169.254.169.253
podLabels: {}
podAnnotations: {}
# livenessProbe:
# initialDelaySeconds: 30
# timeoutSeconds: 3
# periodSeconds: 5
# failureThreshold: 10
resources:
{}
# limits:
Expand Down

0 comments on commit 4eb7823

Please sign in to comment.