From ea93fbb65a07a5560d5eaf4371d9b93be8671f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Sun, 13 Dec 2020 15:39:29 +0100 Subject: [PATCH] Refactor ingress.yaml(s) and issuer.yaml(S) --- .../https/templates/issuer.template.yaml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/deployment/digital-ocean/https/templates/issuer.template.yaml b/deployment/digital-ocean/https/templates/issuer.template.yaml index 47b90a3b9..ce6a9e00e 100644 --- a/deployment/digital-ocean/https/templates/issuer.template.yaml +++ b/deployment/digital-ocean/https/templates/issuer.template.yaml @@ -10,7 +10,7 @@ # The ACME server URL server: https://acme-staging-v02.api.letsencrypt.org/directory # Email address used for ACME registration - email: devops@ocelot.social + email: user@example.com # Name of a secret used to store the ACME account private key privateKeySecretRef: name: letsencrypt-testing @@ -18,19 +18,19 @@ http01: {} --- # used after installation for production, recognize 'server: https://acme-v02…' - apiVersion: certmanager.k8s.io/v1alpha1 - kind: Issuer - metadata: - name: letsencrypt-production - namespace: ocelot-social - spec: - acme: - # The ACME server URL - server: https://acme-v02.api.letsencrypt.org/directory - # Email address used for ACME registration - email: devops@ocelot.social - # Name of a secret used to store the ACME account private key - privateKeySecretRef: - name: letsencrypt-production - # Enable the HTTP-01 challenge provider - http01: {} + apiVersion: certmanager.k8s.io/v1alpha1 + kind: Issuer + metadata: + name: letsencrypt-production + 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-production + # Enable the HTTP-01 challenge provider + http01: {}