feat(argo-cd): add lifecycle hooks to repo server (#1922)

* add lifesycle webhook to repo server

Signed-off-by: goshado <goshatoo@gmail.com>

* add lifesycle webhook to repo server

Signed-off-by: goshado <goshatoo@gmail.com>

* add lifesycle webhook to repo server

Signed-off-by: goshado <goshatoo@gmail.com>

---------

Signed-off-by: goshado <goshatoo@gmail.com>
Signed-off-by: GoshaDozoretz <106976988+gosharo@users.noreply.github.com>
Co-authored-by: goshado <goshatoo@gmail.com>
This commit is contained in:
GoshaDozoretz 2023-05-17 16:40:18 +03:00 committed by GitHub
parent 1a5ee8eb35
commit 05bc6a236d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View file

@ -275,6 +275,10 @@ spec:
{{- toYaml .Values.repoServer.resources | nindent 10 }}
securityContext:
{{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
{{- with .Values.repoServer.lifecycle }}
lifecycle:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.repoServer.extraContainers }}
{{- tpl (toYaml .) $ | nindent 6 }}
{{- end }}