Skip to content

Commit

Permalink
feat: add lifecycle to chart app (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo authored Aug 28, 2023
1 parent 447df07 commit 3c26734
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/contrib/charts/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ spec:
{{- include "contrib-helpers.readinessProbe" . | nindent 12 }}
startupProbe:
{{- include "contrib-helpers.startupProbe" . | nindent 12 }}
{{ if .Values.lifecycle }}
lifecycle:
{{- tpl (.Values.lifecycle | toYaml) . | nindent 12 }}
{{ end }}
resources:
limits:
cpu: {{ .Values.resources.limits.cpu | quote }}
Expand Down
1 change: 1 addition & 0 deletions plugins/contrib/charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ probesPath: /index.html
livenessProbe:
readinessProbe:
startupProbe:
lifecycle:
resources:
limits:
cpu:
Expand Down

0 comments on commit 3c26734

Please sign in to comment.