diff --git a/deployment/digital-ocean/https/templates/ingress.template.yaml b/deployment/digital-ocean/https/templates/ingress.template.yaml index 9d75655cf..bd031729b 100644 --- a/deployment/digital-ocean/https/templates/ingress.template.yaml +++ b/deployment/digital-ocean/https/templates/ingress.template.yaml @@ -5,7 +5,7 @@ metadata: namespace: ocelot-social annotations: kubernetes.io/ingress.class: "nginx" - # cert-manager.io/issuer: "letsencrypt-staging" + # cert-manager.io/issuer: "letsencrypt-staging" # in case using issuers instead of a cluster-issuers cert-manager.io/cluster-issuer: "letsencrypt-staging" nginx.ingress.kubernetes.io/proxy-body-size: 10m spec: diff --git a/deployment/digital-ocean/https/templates/issuer.template.yaml b/deployment/digital-ocean/https/templates/issuer.template.yaml index 805c988c2..a87b41438 100644 --- a/deployment/digital-ocean/https/templates/issuer.template.yaml +++ b/deployment/digital-ocean/https/templates/issuer.template.yaml @@ -1,21 +1,3 @@ -# --- -# # used while installation as first setup for testing purposes, recognize 'server: https://acme-staging-v02…' -# apiVersion: cert-manager.io/v1 -# kind: Issuer -# metadata: -# name: letsencrypt-staging -# namespace: ocelot-social -# spec: -# acme: -# # The ACME server URL -# server: https://acme-staging-v02.api.letsencrypt.org/directory -# # Email address used for ACME registration -# email: user@example.com -# # Name of a secret used to store the ACME account private key -# privateKeySecretRef: -# name: letsencrypt-staging -# # Enable the HTTP-01 challenge provider -# http01: {} --- # used while installation as first setup for testing purposes, recognize 'server: https://acme-staging-v02…' # !!! replace the e-mail for expiring certificates, see below !!! @@ -40,24 +22,6 @@ spec: - http01: ingress: class: nginx -# --- -# # used after installation for production, recognize 'server: https://acme-v02…' -# apiVersion: cert-manager.io/v1 -# kind: Issuer -# metadata: -# name: letsencrypt-prod -# namespace: ocelot-social -# spec: -# acme: -# # The ACME server URL -# server: https://acme-v02.api.letsencrypt.org/directory -# # Email address used for ACME registration -# email: user@example.com -# # Name of a secret used to store the ACME account private key -# privateKeySecretRef: -# name: letsencrypt-prod -# # Enable the HTTP-01 challenge provider -# http01: {} --- # used after installation for production, recognize 'server: https://acme-v02…' # !!! replace the e-mail for expiring certificates, see below !!!