feat(secrets): Adding sealed secrets controller

Sealed secrets allows for public encrypted secrets that will be decrypted inside the cluster
This commit is contained in:
Vegard Hagen
2023-06-15 20:59:49 +02:00
parent ce78a19383
commit 4814a31b15
2 changed files with 27 additions and 0 deletions

22
infra/sealed-secrets.yaml Normal file
View File

@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sealed-secrets
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: infrastructure
source:
path: infra/sealed-secrets
repoURL: https://github.com/vehagn/homelab
targetRevision: HEAD
destination:
name: in-cluster
namespace: kube-system
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.22.0/controller.yaml