diff --git a/cert-manager/base/cert-manager-issuer-staging.yml b/cert-manager/base/cert-manager-issuer-staging.yml deleted file mode 100644 index 4b40b18..0000000 --- a/cert-manager/base/cert-manager-issuer-staging.yml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: letsencrypt-staging -spec: - acme: - # The ACME server URL - server: https://acme-staging-v02.api.letsencrypt.org/directory - # Email address used for ACME registration - email: kano@sunet.se - # Name of a secret used to store the ACME account private key - privateKeySecretRef: - name: letsencrypt-staging - # Enable the HTTP-01 challenge provider - solvers: - - http01: - ingress: - ingressClassName: nginx diff --git a/cert-manager/base/cert-manager-issuer-prod.yml b/cert-manager/base/cert-manager-issuer.yml similarity index 89% rename from cert-manager/base/cert-manager-issuer-prod.yml rename to cert-manager/base/cert-manager-issuer.yml index df23df0..ef83d47 100644 --- a/cert-manager/base/cert-manager-issuer-prod.yml +++ b/cert-manager/base/cert-manager-issuer.yml @@ -1,7 +1,7 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: - name: letsencrypt-prod + name: letsencrypt spec: acme: # The ACME server URL @@ -10,7 +10,7 @@ spec: email: kano@sunet.se # Name of a secret used to store the ACME account private key privateKeySecretRef: - name: letsencrypt-prod + name: letsencrypt # Enable the HTTP-01 challenge provider solvers: - http01: diff --git a/cert-manager/base/kustomization.yaml b/cert-manager/base/kustomization.yaml index 7855721..0fccc00 100644 --- a/cert-manager/base/kustomization.yaml +++ b/cert-manager/base/kustomization.yaml @@ -4,5 +4,4 @@ kind: Kustomization namespace: cert-manager resources: - https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml -- cert-manager-issuer-staging.yml -- cert-manager-issuer-prod.yml +- cert-manager-issuer.yml