[bitnami/etcd] bugfix: probes to use healthcheck when TLS client-to-server authentication (#32258)

This commit is contained in:
Juan Ariza Toledano
2025-03-04 11:02:40 +00:00
committed by GitHub
parent 64c11bc51e
commit a6791c5ee6
3 changed files with 14 additions and 4 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
# Changelog
## 11.1.0 (2025-02-21)
## 11.1.1 (2025-03-04)
* [bitnami/etcd] feat: basic customization params for etcd upgrade-job ([#32099](https://github.com/bitnami/charts/pull/32099))
* [bitnami/etcd] bugfix: probes to use healthcheck when TLS client-to-server authentication ([#32258](https://github.com/bitnami/charts/pull/32258))
## 11.1.0 (2025-02-24)
* [bitnami/etcd] feat: basic customization params for etcd upgrade-job (#32099) ([b820c10](https://github.com/bitnami/charts/commit/b820c10df5a2066e25ef101f1a279819a83c238b)), closes [#32099](https://github.com/bitnami/charts/issues/32099)
## <small>11.0.8 (2025-02-19)</small>
+1 -1
View File
@@ -32,4 +32,4 @@ maintainers:
name: etcd
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/etcd
version: 11.1.0
version: 11.1.1
+7 -1
View File
@@ -286,10 +286,16 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.livenessProbe.enabled }}
livenessProbe:
{{- if .Values.auth.client.secureTransport }}
exec:
command:
- /opt/bitnami/scripts/etcd/healthcheck.sh
{{- else }}
httpGet:
port: {{ .Values.containerPorts.client }}
path: /livez
scheme: {{ ternary "HTTPS" "HTTP" .Values.auth.client.secureTransport | quote }}
scheme: "HTTP"
{{- end }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}