feat(argocd-apps): Add Argo extensions (#1546)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
8495d6bb5c
commit
7c3276f44d
5 changed files with 57 additions and 2 deletions
27
charts/argocd-apps/templates/extensions.yaml
Normal file
27
charts/argocd-apps/templates/extensions.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{{- range .Values.extensions }}
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ArgoCDExtension
|
||||
metadata:
|
||||
name: {{ .name }}
|
||||
{{- with .namespace }}
|
||||
namespace: {{ . }}
|
||||
{{- end }}
|
||||
finalizers:
|
||||
- extensions-finalizer.argocd.argoproj.io
|
||||
{{- with .additionalLabels }}
|
||||
labels:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .additionalAnnotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := . }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .sources }}
|
||||
spec:
|
||||
sources:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue