Reviewed-on: https://gitea.arcodange.duckdns.org/arcodange-org/tools/pulls/1 Co-authored-by: Gabriel Radureau <arcodange@gmail.com> Co-committed-by: Gabriel Radureau <arcodange@gmail.com>
25 lines
564 B
YAML
25 lines
564 B
YAML
{{- range $app_name := .Values.tools -}}
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: {{ $app_name }}
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: tools
|
|
source:
|
|
repoURL: https://gitea.arcodange.duckdns.org/arcodange-org/tools
|
|
targetRevision: HEAD
|
|
path: {{ $app_name }}
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: tools
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
{{ end }} |