File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -123,14 +123,18 @@ spec:
123123 containerPort : {{ .port }}
124124 protocol : {{ .protocol }}
125125 {{- end }}
126+ {{- if ne .Values.livenessProbe.enabled false }}
126127 livenessProbe :
127128 httpGet :
128129 path : /healthz
129130 port : http
131+ {{- end }}
132+ {{- if ne .Values.readinessProbe.enabled false }}
130133 readinessProbe :
131134 httpGet :
132135 path : /healthz
133136 port : http
137+ {{- end }}
134138 resources :
135139 {{- toYaml .Values.resources | nindent 12 }}
136140 {{- with .Values.nodeSelector }}
Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ resources: {}
111111 # cpu: 100m
112112 # memory: 1000Mi
113113
114+ livenessProbe :
115+ enabled : true
116+
117+ readinessProbe :
118+ enabled : true
119+
114120nodeSelector : {}
115121
116122tolerations : []
You can’t perform that action at this time.
0 commit comments