[bitnami/seaweedfs] Use different liveness/readiness probes (#26298)

* [bitnami/seaweedfs] Use different liveness/readiness probes

Signed-off-by: David Gomez <dgomezleon@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: David Gomez <dgomezleon@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
David Gomez
2024-05-22 08:32:40 +02:00
committed by GitHub
parent 20bcf96093
commit cc64540734
8 changed files with 17 additions and 13 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 0.2.1 (2024-05-21)
## 0.2.2 (2024-05-21)
* [bitnami/seaweedfs] fix: adapt pod security context to openshift ([#26294](https://github.com/bitnami/charts/pulls/26294))
* [bitnami/seaweedfs] Use different liveness/readiness probes ([#26298](https://github.com/bitnami/charts/pulls/26298))
## <small>0.2.1 (2024-05-21)</small>
* [bitnami/seaweedfs] fix: adapt pod security context to openshift (#26294) ([ef66c18](https://github.com/bitnami/charts/commit/ef66c18)), closes [#26294](https://github.com/bitnami/charts/issues/26294)
## 0.2.0 (2024-05-21)

View File

@@ -7,3 +7,4 @@ dependencies:
version: 2.19.3
digest: sha256:2478b5905a3762c639243987d595ae8946c65c7ec7cd1999850fdcd50e514a61
generated: "2024-05-21T14:39:05.507859562+02:00"

View File

@@ -39,4 +39,4 @@ maintainers:
name: seaweedfs
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/seaweedfs
version: 0.2.1
version: 0.2.2

View File

@@ -194,8 +194,7 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.filer.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.filer.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.filer.livenessProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /
tcpSocket:
port: http
{{- end }}
{{- if .Values.filer.customReadinessProbe }}

View File

@@ -197,8 +197,7 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.master.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.master.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.master.livenessProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /cluster/status
tcpSocket:
port: http
{{- end }}
{{- if .Values.master.customReadinessProbe }}

View File

@@ -162,8 +162,7 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.s3.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.s3.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.s3.livenessProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /status
tcpSocket:
port: http
{{- end }}
{{- if .Values.s3.customReadinessProbe }}

View File

@@ -208,8 +208,7 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.volume.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.volume.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.volume.livenessProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /status
tcpSocket:
port: http
{{- end }}
{{- if .Values.volume.customReadinessProbe }}

View File

@@ -147,8 +147,11 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.webdav.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.webdav.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.webdav.livenessProbe "enabled") "context" $) | nindent 12 }}
tcpSocket:
port: {{ ternary "https" "http" .Values.webdav.tls.enabled }}
exec:
command:
- pgrep
- -f
- webdav
{{- end }}
{{- if .Values.webdav.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.webdav.customReadinessProbe "context" $) | nindent 12 }}