diff --git a/cert-manager/base/kustomization.yaml b/cert-manager/base/kustomization.yaml deleted file mode 100644 index ee014cc..0000000 --- a/cert-manager/base/kustomization.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -namespace: cert-manager -resources: -- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml diff --git a/cert-manager/cluster-issuer.yaml b/cert-manager/cluster-issuer.yaml new file mode 100644 index 0000000..8b2776d --- /dev/null +++ b/cert-manager/cluster-issuer.yaml @@ -0,0 +1,20 @@ +apiVersion: cert-manager.io/v1 +kind: ClusterIssuer +metadata: + name: letsencrypt + namespace: kube-system +spec: + acme: + # You must replace this email address with your own. + # Let's Encrypt will use this to contact you about expiring + # certificates, and issues related to your account. + email: drive@sunet.se + server: https://acme-v02.api.letsencrypt.org/directory + privateKeySecretRef: + # Secret resource that will be used to store the account's private key. + name: letsencrypt-account-key + # Add a single challenge solver, HTTP01 using nginx + solvers: + - http01: + ingress: + class: public diff --git a/cert-manager/overlays/test/kustomization.yaml b/cert-manager/overlays/test/kustomization.yaml deleted file mode 100644 index 4e4f197..0000000 --- a/cert-manager/overlays/test/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ../../base