feat(secrets): Add argocd handled secrets

This commit is contained in:
Tanguy Herbron 2024-01-14 18:25:38 +01:00
parent 4272e9cc23
commit fb9b1a7697
2 changed files with 25 additions and 0 deletions

View File

@ -3,6 +3,7 @@ kind: Kustomization
resources:
- namespace.yaml
- secrets.yaml
- database.yaml
- service.yaml
- ingress.yaml

24
manifests/secrets.yaml Normal file
View File

@ -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