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 project: default
source: source:
repoURL: 'https://gitea.training.cluster.acend.ch/<user>/prometheus-training-lab-setup' repoURL: 'https://gitea.training.cluster.acend.ch/<user>/prometheus-training-lab-setup'
path: charts/user-monitoring-demo/ path: user-demo/
targetRevision: main targetRevision: main
helm:
values: |
user: <user>
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true

View File

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

View File

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