Skip to content

Commit

Permalink
[bitnami/odoo] Use different liveness/readiness probes (#25972)
Browse files Browse the repository at this point in the history
Signed-off-by: David Gomez <[email protected]>
  • Loading branch information
dgomezleon authored May 20, 2024
1 parent 94b5e99 commit 2641134
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions bitnami/odoo/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 15.3.2
version: 15.3.3
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.19.2
digest: sha256:b3be00d62395c3cbec87e3ed0b505d68b48a969323d3e4bb14428dca34c75a52
generated: "2024-05-18T02:16:13.435005358Z"
digest: sha256:95905b036bd584a4bd45bd69e8b5f1b837adbcd1eb75318e0cc2674d58936c1a
generated: "2024-05-20T09:10:56.080651+02:00"
2 changes: 1 addition & 1 deletion bitnami/odoo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ maintainers:
name: odoo
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/odoo
version: 26.0.4
version: 26.0.5
1 change: 0 additions & 1 deletion bitnami/odoo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ See the [Parameters](#parameters) section to configure the PVC or to disable per
| `containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `livenessProbe.enabled` | Enable livenessProbe | `true` |
| `livenessProbe.path` | Path for to check for livenessProbe | `/web/health` |
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `600` |
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `30` |
| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `5` |
Expand Down
3 changes: 1 addition & 2 deletions bitnami/odoo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.livenessProbe "enabled" "path") "context" $) | nindent 12 }}
httpGet:
path: {{ .Values.livenessProbe.path }}
tcpSocket:
port: http
{{- end }}
{{- if .Values.customReadinessProbe }}
Expand Down
2 changes: 0 additions & 2 deletions bitnami/odoo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ containerSecurityContext:
## Configure extra options for Odoo containers' liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
## @param livenessProbe.enabled Enable livenessProbe
## @param livenessProbe.path Path for to check for livenessProbe
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param livenessProbe.periodSeconds Period seconds for livenessProbe
## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
Expand All @@ -268,7 +267,6 @@ containerSecurityContext:
##
livenessProbe:
enabled: true
path: /web/health
initialDelaySeconds: 600
periodSeconds: 30
timeoutSeconds: 5
Expand Down

0 comments on commit 2641134

Please sign in to comment.