Merge pull request #12530 from refl3ction/patch-1

helm create: move livenessProbe and readinessProbe values to default values file
pull/12688/head
Joe Julian 9 months ago committed by GitHub
commit e06a1432d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -175,6 +175,15 @@ resources: {}
# cpu: 100m # cpu: 100m
# memory: 128Mi # memory: 128Mi
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
autoscaling: autoscaling:
enabled: false enabled: false
minReplicas: 1 minReplicas: 1
@ -333,13 +342,9 @@ spec:
containerPort: {{ .Values.service.port }} containerPort: {{ .Values.service.port }}
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
httpGet: {{- toYaml .Values.livenessProbe | nindent 12 }}
path: /
port: http
readinessProbe: readinessProbe:
httpGet: {{- toYaml .Values.readinessProbe | nindent 12 }}
path: /
port: http
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }} {{- with .Values.volumeMounts }}

Loading…
Cancel
Save