changed app path from argocd to chart
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user