Change structure of argo applications

This commit is contained in:
Raffael H 2023-10-11 15:26:13 +02:00
parent 3fc8e332ea
commit 00ba693670
3 changed files with 3 additions and 6 deletions

View File

@ -11,11 +11,8 @@ spec:
project: default
source:
repoURL: 'https://gitea.training.cluster.acend.ch/<user>/prometheus-training-lab-setup'
path: charts/user-monitoring-demo/
path: user-demo/
targetRevision: main
helm:
values: |
user: <user>
syncPolicy:
automated:
prune: true

View File

@ -2,7 +2,7 @@ apiVersion: v1
data:
admin: JDEkSzNRZUlsOHAkZVZZb1h2RERNWk40b3RJT2tBc3AwLw== # $(openssl passwd -1 admin)
{{ .Values.user }}: JDEkSzNRZUlsOHAkZVZZb1h2RERNWk40b3RJT2tBc3AwLw== # $(openssl passwd -1 admin)
grafana_user: {{ .Values.user }}
grafana_user: {{ .Values.user | b64enc }}
kind: Secret
metadata:
labels:

View File

@ -2,7 +2,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: <user>-umbrella
name: <user>-app-of-apps
namespace: argocd
spec:
destination: