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
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: url-shortener
|
name: {{ $app_name }}
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.arcodange.duckdns.org/arcodange-org/url-shortener
|
repoURL: https://gitea.arcodange.duckdns.org/arcodange-org/{{ $app_name }}
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: argocd
|
path: chart
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: url-shortener
|
namespace: {{ $app_name }}
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
{{ end }}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
# Default values for argocd.
|
# Default values for argocd.
|
||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
gitea_applications:
|
||||||
|
- url-shortener
|
||||||
Reference in New Issue
Block a user