File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11---
22apiVersion : v2
3- version : 0.18.3
3+ version : 0.18.4
44appVersion : " 0.18.0"
55description : Provides easy redis setup definitions for Kubernetes services, and deployment.
66engine : gotpl
Original file line number Diff line number Diff line change 3434 {{- toYaml .Values.securityContext | nindent 10 }}
3535 image : " {{ .Values.redisOperator.imageName }}:{{ .Values.redisOperator.imageTag | default (printf " v%s" .Chart.AppVersion) }}"
3636 imagePullPolicy : {{ .Values.redisOperator.imagePullPolicy }}
37+ livenessProbe :
38+ httpGet :
39+ path : /healthz
40+ port : 8081
41+ readinessProbe :
42+ httpGet :
43+ path : /readyz
44+ port : 8081
3745 command :
3846 - /manager
3947 args :
4654 - containerPort : 9443
4755 name : webhook-server
4856 protocol : TCP
49- readinessProbe :
50- initialDelaySeconds : 15
51- timeoutSeconds : 3
52- livenessProbe :
53- initialDelaySeconds : 10
54- timeoutSeconds : 3
5557 volumeMounts :
5658 - mountPath : /tmp/k8s-webhook-server/serving-certs
5759 name : cert
Original file line number Diff line number Diff line change @@ -183,11 +183,11 @@ func main() {
183183 }
184184 // +kubebuilder:scaffold:builder
185185
186- if err := mgr .AddHealthzCheck ("health " , healthz .Ping ); err != nil {
186+ if err := mgr .AddHealthzCheck ("healthz " , healthz .Ping ); err != nil {
187187 setupLog .Error (err , "unable to set up health check" )
188188 os .Exit (1 )
189189 }
190- if err := mgr .AddReadyzCheck ("check " , healthz .Ping ); err != nil {
190+ if err := mgr .AddReadyzCheck ("readyz " , healthz .Ping ); err != nil {
191191 setupLog .Error (err , "unable to set up ready check" )
192192 os .Exit (1 )
193193 }
You can’t perform that action at this time.
0 commit comments