From 826e6d4bdf86f331e09f3508dc2aba3d0ea05f85 Mon Sep 17 00:00:00 2001 From: Ivann LARUELLE Date: Thu, 24 Jun 2021 06:14:44 +0200 Subject: [PATCH] feat(helm): adding liveness and readiness probes customizations (#4116) * feat(helm): adding liveness and readiness probes customizations * chore(helm): bump chart version to 2.2.0 ***NO_CI*** --- dev/helm/Chart.yaml | 2 +- dev/helm/templates/deployment.yaml | 8 ++------ dev/helm/values.yaml | 10 ++++++++++ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/dev/helm/Chart.yaml b/dev/helm/Chart.yaml index e284c368..614473a0 100644 --- a/dev/helm/Chart.yaml +++ b/dev/helm/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: wiki # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 2.1.0 +version: 2.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. AppVersion: latest diff --git a/dev/helm/templates/deployment.yaml b/dev/helm/templates/deployment.yaml index 0c728770..b96fda6b 100644 --- a/dev/helm/templates/deployment.yaml +++ b/dev/helm/templates/deployment.yaml @@ -56,13 +56,9 @@ spec: containerPort: 3000 protocol: TCP livenessProbe: - httpGet: - path: /healthz - port: http + {{- toYaml .Values.livenessProbe | nindent 12 }} readinessProbe: - httpGet: - path: /healthz - port: http + {{- toYaml .Values.readinessProbe | nindent 12 }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/dev/helm/values.yaml b/dev/helm/values.yaml index 87701fb2..8a34f41c 100644 --- a/dev/helm/values.yaml +++ b/dev/helm/values.yaml @@ -21,6 +21,16 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: +livenessProbe: + httpGet: + path: /healthz + port: http + +readinessProbe: + httpGet: + path: /healthz + port: http + podSecurityContext: {} # fsGroup: 2000