diff --git a/infrastructure/platform/external-secrets/kustomization.yaml b/infrastructure/platform/external-secrets/kustomization.yaml new file mode 100644 index 0000000..1658c0f --- /dev/null +++ b/infrastructure/platform/external-secrets/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - namespace.yaml + - repository.yaml + - release.yaml \ No newline at end of file diff --git a/infrastructure/platform/external-secrets/namespace.yaml b/infrastructure/platform/external-secrets/namespace.yaml new file mode 100644 index 0000000..9163d5e --- /dev/null +++ b/infrastructure/platform/external-secrets/namespace.yaml @@ -0,0 +1,4 @@ +kind: Namespace +apiVersion: v1 +metadata: + name: external-secrets \ No newline at end of file diff --git a/infrastructure/platform/external-secrets/release.yaml b/infrastructure/platform/external-secrets/release.yaml new file mode 100644 index 0000000..a2b4e4c --- /dev/null +++ b/infrastructure/platform/external-secrets/release.yaml @@ -0,0 +1,16 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: external-secrets + namespace: flux-system +spec: + chart: + spec: + chart: external-secrets + sourceRef: + kind: HelmRepository + name: external-secrets + version: "0.11.0" + interval: 1h0m0s + releaseName: external-secrets + targetNamespace: external-secrets \ No newline at end of file diff --git a/infrastructure/platform/external-secrets/repository.yaml b/infrastructure/platform/external-secrets/repository.yaml new file mode 100644 index 0000000..6a5b059 --- /dev/null +++ b/infrastructure/platform/external-secrets/repository.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: HelmRepository +metadata: + name: external-secrets + namespace: flux-system +spec: + interval: 1h0m0s + url: https://charts.external-secrets.io