Skip to content

Commit 8a1703d

Browse files
committed
feat(helm): add readinessProbe on proxy pods
1 parent 55e1453 commit 8a1703d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

helm/kube-image-keeper/templates/proxy-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ spec:
6767
name: registry-certificate-authorities
6868
readOnly: true
6969
{{- end }}
70+
{{- with .Values.proxy.readinessProbe }}
71+
readinessProbe:
72+
{{- toYaml . | nindent 12 }}
73+
{{- end }}
7074
{{- with .Values.proxy.resources }}
7175
resources:
7276
{{- toYaml . | nindent 12 }}

helm/kube-image-keeper/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ proxy:
151151
affinity: {}
152152
# -- Extra env variables for the proxy pod
153153
env: []
154+
# -- Readiness probe definition for the proxy pod
155+
readinessProbe:
156+
httpGet:
157+
path: /v2/
158+
port: 8082
154159
resources:
155160
requests:
156161
# -- Cpu requests for the proxy pod

0 commit comments

Comments
 (0)