File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,9 @@ spec:
138138 { {- end } }
139139 { {- end } }
140140 { {- end } }
141+ { {- if and .Values.deployment.fallback_cp.mode (eq .Values.deployment.fallback_cp.mode " write" ) } }
142+ { {- /* Disable probes when fallback_cp mode is set to write */ -} }
143+ { {- else } }
141144 { {- if .Values.gateway.readinessProbe } }
142145 readinessProbe:
143146 { {- toYaml .Values.gateway.readinessProbe | nindent 8 } }
@@ -155,6 +158,7 @@ spec:
155158 livenessProbe:
156159 { {- toYaml .Values.gateway.livenessProbe | nindent 8 } }
157160 { {- end } }
161+ { {- end } }
158162 lifecycle:
159163 preStop:
160164 exec:
Original file line number Diff line number Diff line change @@ -239,6 +239,8 @@ deployment:
239239 # -- use cloud storage as the fallback control plane,
240240 # should be consistent with the same configuration in control plane side.
241241 fallback_cp : {}
242+ # interval: 10
243+ # mode: "write"
242244 # aws_s3:
243245 # access_key: "access"
244246 # secret_key: "secret"
You can’t perform that action at this time.
0 commit comments