Added app of apps chart

This commit is contained in:
2023-10-29 21:32:11 +01:00
parent f5887af3d7
commit c13470f630
3 changed files with 44 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
apiVersion: v2
name: app-of-apps
description: Configuration chart for ArgoCD to monitor
type: application
version: 0.1.0
@@ -0,0 +1,19 @@
{{- range .Values.applications }}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .name }}
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: argocd
server: {{ $.Values.overall.destinationServer }}
project: {{ .project }}
source:
path: argocd/{{ .name }}/{{ $.Values.overall.environment }}
repoURL: https://git.2martens.de/2martens/cloud-configuration/
targetRevision: {{ .targetRevision }}
{{- end }}
+20
View File
@@ -0,0 +1,20 @@
applications:
- name: configserver
project: default
targetRevision: main
- name: kafka
project: default
targetRevision: main
- name: zookeeper
project: default
targetRevision: main
- name: wahlrecht
project: default
targetRevision: main
- name: vault-secrets-operator
project: default
targetRevision: main
overall:
destinationServer: https://kubernetes.default.svc
environment: test