changed app path from argocd to chart

This commit is contained in:
2024-08-27 10:14:33 +02:00
parent 3c77cb007a
commit 955006dd5d
2 changed files with 10 additions and 5 deletions

View File

@@ -1,20 +1,23 @@
{{- range $app_name := .Values.gitea_applications -}}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: url-shortener
name: {{ $app_name }}
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.arcodange.duckdns.org/arcodange-org/url-shortener
repoURL: https://gitea.arcodange.duckdns.org/arcodange-org/{{ $app_name }}
targetRevision: HEAD
path: argocd
path: chart
destination:
server: https://kubernetes.default.svc
namespace: url-shortener
namespace: {{ $app_name }}
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- CreateNamespace=true
{{ end }}