diff --git a/manifests/kustomization.yaml b/manifests/kustomization.yaml index 131512f..19b7aaf 100644 --- a/manifests/kustomization.yaml +++ b/manifests/kustomization.yaml @@ -3,6 +3,7 @@ kind: Kustomization resources: - namespace.yaml + - secrets.yaml - database.yaml - service.yaml - ingress.yaml diff --git a/manifests/secrets.yaml b/manifests/secrets.yaml new file mode 100644 index 0000000..c9da1c0 --- /dev/null +++ b/manifests/secrets.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: vaultwarden-secrets + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://git.halis.io/athens-school/k3s-secrets.git + targetRevision: dev + path: vaultwarden + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=false + - ApplyOutOfSyncOnly=true + - PruneLast=true + destination: + server: https://kubernetes.default.svc + namespace: vaultwarden