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***
This commit is contained in:
Ivann LARUELLE 2021-06-24 06:14:44 +02:00 committed by GitHub
parent b3612b61ba
commit 826e6d4bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 7 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: wiki name: wiki
# This is the chart version. This version number should be incremented each time you make changes # 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. # 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 # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
AppVersion: latest AppVersion: latest

View File

@ -56,13 +56,9 @@ spec:
containerPort: 3000 containerPort: 3000
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
httpGet: {{- toYaml .Values.livenessProbe | nindent 12 }}
path: /healthz
port: http
readinessProbe: readinessProbe:
httpGet: {{- toYaml .Values.readinessProbe | nindent 12 }}
path: /healthz
port: http
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}

View File

@ -21,6 +21,16 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template # If not set and create is true, a name is generated using the fullname template
name: name:
livenessProbe:
httpGet:
path: /healthz
port: http
readinessProbe:
httpGet:
path: /healthz
port: http
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000