Skip to content

Commit

Permalink
[bitnami/prestashop] Use different liveness/readiness probes
Browse files Browse the repository at this point in the history
Signed-off-by: David Gomez <[email protected]>
  • Loading branch information
dgomezleon committed May 20, 2024
1 parent 06839ae commit 1e0bff8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
6 changes: 3 additions & 3 deletions bitnami/prestashop/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: mariadb
repository: oci://registry-1.docker.io/bitnamicharts
version: 18.0.5
version: 18.0.6
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.19.2
digest: sha256:c5470e186b8c675df045d2df334629fb8a47a53f87044bd4348c80105ca25eaf
generated: "2024-05-18T02:30:26.071116905Z"
digest: sha256:c47e6893bd32647cb5b1ace19e702087fa6e5301cd7e7b37eae4313afa327e2c
generated: "2024-05-20T09:06:59.566666+02:00"
2 changes: 1 addition & 1 deletion bitnami/prestashop/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ maintainers:
name: prestashop
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/prestashop
version: 21.0.4
version: 21.0.5
1 change: 0 additions & 1 deletion bitnami/prestashop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ helm install my-release --set persistence.existingClaim=PVC_NAME oci://REGISTRY_
| `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` | Request path for livenessProbe | `/` |
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `600` |
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `10` |
| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `5` |
Expand Down
6 changes: 1 addition & 5 deletions bitnami/prestashop/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,8 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: {{ .Values.livenessProbe.path }}
tcpSocket:
port: http
httpHeaders:
- name: Host
value: {{ include "prestashop.host" . | quote }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
Expand Down
2 changes: 0 additions & 2 deletions bitnami/prestashop/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ containerSecurityContext:
## Configure extra options for liveness probe
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
## @param livenessProbe.enabled Enable livenessProbe
## @param livenessProbe.path Request path 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 @@ -372,7 +371,6 @@ containerSecurityContext:
##
livenessProbe:
enabled: true
path: /
initialDelaySeconds: 600
periodSeconds: 10
timeoutSeconds: 5
Expand Down

0 comments on commit 1e0bff8

Please sign in to comment.