Skip to content

Commit 7fba421

Browse files
committed
fix: back to inlined readinessprobe block
1 parent 6551b72 commit 7fba421

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

‎docs/sources/setup/install/helm/reference.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6872,15 +6872,6 @@ false
68726872
"readOnlyRootFilesystem": true
68736873
}
68746874
</pre>
6875-
</td>
6876-
</tr>
6877-
<tr>
6878-
<td>memcached.customReadinessProbe</td>
6879-
<td>object</td>
6880-
<td>custom Readiness probe for memcached pods that overrides the default one</td>
6881-
<td><pre lang="json">
6882-
{}
6883-
</pre>
68846875
</td>
68856876
</tr>
68866877
<tr>
@@ -6936,10 +6927,9 @@ null
69366927
<tr>
69376928
<td>memcached.readinessProbe</td>
69386929
<td>object</td>
6939-
<td>Readiness probe for memcached pods</td>
6930+
<td>Readiness probe for memcached pods (probe port defaults to container port)</td>
69406931
<td><pre lang="json">
69416932
{
6942-
"enabled": false,
69436933
"failureThreshold": 6,
69446934
"initialDelaySeconds": 5,
69456935
"periodSeconds": 5,

‎production/helm/loki/templates/memcached/_memcached-statefulset.tpl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,10 @@ spec:
124124
{{- end }}
125125
securityContext:
126126
{{- toYaml $.ctx.Values.memcached.containerSecurityContext | nindent 12 }}
127-
{{- if $.ctx.Values.memcached.customReadinessProbe }}
128127
readinessProbe:
129-
{{- toYaml $.ctx.Values.memcached.customReadinessProbe | nindent 12 }}
130-
{{- else if $.ctx.Values.memcached.readinessProbe.enabled }}
131-
readinessProbe:
132128
tcpSocket:
133129
port: {{ .port }}
134-
{{- with omit $.ctx.Values.memcached.readinessProbe "enabled" }}
135-
{{- toYaml . | nindent 12 }}
136-
{{- end }}
137-
{{- end }}
130+
{{- toYaml $.ctx.Values.memcached.readinessProbe | nindent 12 }}
138131
{{- if or .persistence.enabled .extraVolumeMounts }}
139132
volumeMounts:
140133
{{- if .persistence.enabled }}

‎production/helm/loki/values.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3204,15 +3204,12 @@ memcached:
32043204
fsGroup: 11211
32053205
# -- The name of the PriorityClass for memcached pods
32063206
priorityClassName: null
3207-
# -- Readiness probe for memcached pods
3207+
# -- Readiness probe for memcached pods (probe port defaults to container port)
32083208
readinessProbe:
3209-
enabled: false
32103209
initialDelaySeconds: 5
32113210
periodSeconds: 5
32123211
timeoutSeconds: 3
32133212
failureThreshold: 6
3214-
# -- custom Readiness probe for memcached pods that overrides the default one
3215-
customReadinessProbe: {}
32163213
# -- The SecurityContext for memcached containers
32173214
containerSecurityContext:
32183215
readOnlyRootFilesystem: true

0 commit comments

Comments
 (0)