From 58b285eb6f4a78e87ae102de354da49e787ada86 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 4 Jun 2022 15:23:13 +0200 Subject: [PATCH] Added sealed secrets --- infrastructure/kustomization.yaml | 1 + .../sealed-secrets/kustomization.yaml | 4 ++++ infrastructure/sealed-secrets/release.yaml | 18 ++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 infrastructure/sealed-secrets/kustomization.yaml create mode 100644 infrastructure/sealed-secrets/release.yaml diff --git a/infrastructure/kustomization.yaml b/infrastructure/kustomization.yaml index 35577df..53c46cc 100644 --- a/infrastructure/kustomization.yaml +++ b/infrastructure/kustomization.yaml @@ -4,3 +4,4 @@ resources: - sources - traefik - cert-manager + - sealed-secrets diff --git a/infrastructure/sealed-secrets/kustomization.yaml b/infrastructure/sealed-secrets/kustomization.yaml new file mode 100644 index 0000000..ad4414d --- /dev/null +++ b/infrastructure/sealed-secrets/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - release.yaml diff --git a/infrastructure/sealed-secrets/release.yaml b/infrastructure/sealed-secrets/release.yaml new file mode 100644 index 0000000..bf57ae2 --- /dev/null +++ b/infrastructure/sealed-secrets/release.yaml @@ -0,0 +1,18 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: sealed-secrets + namespace: sealed-secrets +spec: + releaseName: sealed-secrets + chart: + spec: + chart: sealed-secrets + sourceRef: + kind: HelmRepository + name: bitnami + namespace: flux-system + interval: 30m + install: + remediation: + retries: 3