Skip to content

Commit

Permalink
feat: move livenessProbe and readinessProbe values to default values …
Browse files Browse the repository at this point in the history
…file

Signed-off-by: Denis Policastro <denis.policastro@gmail.com>
  • Loading branch information
refl3ction committed Oct 27, 2023
1 parent f3099cd commit 9f0313e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions pkg/chartutil/create.go
Expand Up @@ -175,6 +175,15 @@ resources: {}
# cpu: 100m
# memory: 128Mi
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
autoscaling:
enabled: false
minReplicas: 1
Expand Down Expand Up @@ -333,13 +342,9 @@ spec:
containerPort: {{ .Values.service.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
httpGet:
path: /
port: http
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
Expand Down

0 comments on commit 9f0313e

Please sign in to comment.