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