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
{{ end }}

View File

@@ -1,3 +1,5 @@
# Default values for argocd.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
gitea_applications:
- url-shortener