diff --git a/charts/aws-efs-csi-driver/templates/node-daemonset.yaml b/charts/aws-efs-csi-driver/templates/node-daemonset.yaml index 7e763263a..5d576995a 100644 --- a/charts/aws-efs-csi-driver/templates/node-daemonset.yaml +++ b/charts/aws-efs-csi-driver/templates/node-daemonset.yaml @@ -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 }} diff --git a/charts/aws-efs-csi-driver/values.yaml b/charts/aws-efs-csi-driver/values.yaml index e571f5378..143615783 100644 --- a/charts/aws-efs-csi-driver/values.yaml +++ b/charts/aws-efs-csi-driver/values.yaml @@ -141,6 +141,11 @@ node: # - 169.254.169.253 podLabels: {} podAnnotations: {} + # livenessProbe: + # initialDelaySeconds: 30 + # timeoutSeconds: 3 + # periodSeconds: 5 + # failureThreshold: 10 resources: {} # limits: