Skip to content

Commit

Permalink
Add lifecycle to core dpl
Browse files Browse the repository at this point in the history
  • Loading branch information
derekcha committed Mar 31, 2024
1 parent a9b9c81 commit 670f17e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/core/core-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ spec:
port: {{ template "harbor.core.containerPort" . }}
failureThreshold: 2
periodSeconds: 10
{{- with .Values.core.lifecycle }}
lifecycle:
{{ toYaml . | indent 10 }}
{{- end }}
envFrom:
- configMapRef:
name: "{{ template "harbor.core" . }}"
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ core:
extraEnvVars: []
nodeSelector: {}
tolerations: []
lifecycle: []
affinity: {}
# Spread Pods across failure-domains like regions, availability zones or nodes
topologySpreadConstraints: []
Expand Down

0 comments on commit 670f17e

Please sign in to comment.