From b95b2a7e06511c60492411a17259a1aa3d514712 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sun, 8 Sep 2024 13:46:07 +0200 Subject: [PATCH] Add folder app vault --- apps/templates/vault.yaml | 22 ++++++++++++++++++++++ vault/helm-vault.yaml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 apps/templates/vault.yaml diff --git a/apps/templates/vault.yaml b/apps/templates/vault.yaml new file mode 100644 index 0000000..793fb43 --- /dev/null +++ b/apps/templates/vault.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: vault-folder + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://github.com/rubenhensen/k8scd.git + targetRevision: HEAD + path: vault + destination: + server: https://kubernetes.default.svc + namespace: vault + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + selfHeal: true + prune: true \ No newline at end of file diff --git a/vault/helm-vault.yaml b/vault/helm-vault.yaml index 165a343..421dd8c 100644 --- a/vault/helm-vault.yaml +++ b/vault/helm-vault.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: helm-vault + name: vault namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io