mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
Added app of apps chart
This commit is contained in:
@@ -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 }}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user