Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Make lifecycle more generic #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions nexus-repository-manager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ spec:
capabilities:
drop:
- ALL
lifecycle:
{{- if .Values.deployment.postStart.command }}
postStart:
exec:
command: {{ .Values.deployment.postStart.command }}
{{- if .Values.deployment.lifecycle }}
lifecycle: {{ toYaml .Values.deployment.lifecycle | nindent 12 }}
{{- end }}
env:
{{ toYaml .Values.nexus.env | nindent 12 }}
Expand Down