File tree 2 files changed +27
-0
lines changed
deploy/charts/vault-secrets-webhook
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,25 @@ spec:
88
88
imagePullPolicy : {{ .Values.image.pullPolicy }}
89
89
ports :
90
90
- containerPort : {{ .Values.service.internalPort }}
91
+ livenessProbe :
92
+ httpGet :
93
+ scheme : HTTPS
94
+ path : /healthz
95
+ port : {{ .Values.service.internalPort }}
96
+ initialDelaySeconds : {{ .Values.livenessProbe.initialDelaySeconds }}
97
+ failureThreshold : {{ .Values.livenessProbe.failureThreshold }}
98
+ periodSeconds : {{ .Values.livenessProbe.periodSeconds }}
99
+ successThreshold : {{ .Values.livenessProbe.successThreshold }}
100
+ timeoutSeconds : {{ .Values.livenessProbe.timeoutSeconds }}
91
101
readinessProbe :
92
102
httpGet :
93
103
scheme : HTTPS
94
104
path : /healthz
95
105
port : {{ .Values.service.internalPort }}
106
+ failureThreshold : {{ .Values.readinessProbe.failureThreshold }}
107
+ periodSeconds : {{ .Values.readinessProbe.periodSeconds }}
108
+ successThreshold : {{ .Values.readinessProbe.successThreshold }}
109
+ timeoutSeconds : {{ .Values.readinessProbe.timeoutSeconds }}
96
110
volumeMounts :
97
111
- mountPath : /var/serving-cert
98
112
name : serving-cert
Original file line number Diff line number Diff line change @@ -173,6 +173,19 @@ topologySpreadConstraints: {}
173
173
# Check: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
174
174
priorityClassName : " "
175
175
176
+ # -- Liveness and readiness probes for the webhook container
177
+ livenessProbe :
178
+ initialDelaySeconds : 30
179
+ failureThreshold : 3
180
+ periodSeconds : 10
181
+ successThreshold : 1
182
+ timeoutSeconds : 1
183
+ readinessProbe :
184
+ failureThreshold : 3
185
+ periodSeconds : 10
186
+ successThreshold : 1
187
+ timeoutSeconds : 1
188
+
176
189
rbac :
177
190
psp :
178
191
# -- Use pod security policy
You can’t perform that action at this time.
0 commit comments