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