From cf650782bed3dd6b4612c209fe53528d9ef07f8d Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 4 Jun 2022 15:08:47 +0200 Subject: [PATCH] Added cert-manager --- .../cert-manager/kustomization.yaml | 6 ++++++ infrastructure/cert-manager/namespace.yaml | 4 ++++ infrastructure/cert-manager/release.yaml | 21 +++++++++++++++++++ infrastructure/kustomization.yaml | 1 + 4 files changed, 32 insertions(+) create mode 100644 infrastructure/cert-manager/kustomization.yaml create mode 100644 infrastructure/cert-manager/namespace.yaml create mode 100644 infrastructure/cert-manager/release.yaml diff --git a/infrastructure/cert-manager/kustomization.yaml b/infrastructure/cert-manager/kustomization.yaml new file mode 100644 index 0000000..5edc9be --- /dev/null +++ b/infrastructure/cert-manager/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: cert-manager +resources: + - namespace.yaml + - release.yaml diff --git a/infrastructure/cert-manager/namespace.yaml b/infrastructure/cert-manager/namespace.yaml new file mode 100644 index 0000000..c90416f --- /dev/null +++ b/infrastructure/cert-manager/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: cert-manager diff --git a/infrastructure/cert-manager/release.yaml b/infrastructure/cert-manager/release.yaml new file mode 100644 index 0000000..d715425 --- /dev/null +++ b/infrastructure/cert-manager/release.yaml @@ -0,0 +1,21 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: cert-manager + namespace: cert-manager +spec: + releaseName: cert-manager + chart: + spec: + chart: cert-manager + sourceRef: + kind: HelmRepository + name: jetstack + namespace: flux-system + interval: 30m + install: + remediation: + retries: 3 + values: + service: + type: ClusterIP diff --git a/infrastructure/kustomization.yaml b/infrastructure/kustomization.yaml index 1a28d9f..35577df 100644 --- a/infrastructure/kustomization.yaml +++ b/infrastructure/kustomization.yaml @@ -3,3 +3,4 @@ kind: Kustomization resources: - sources - traefik + - cert-manager