Refactor ingress.yaml(s) and issuer.yaml(S)

This commit is contained in:
Wolfgang Huß 2020-12-13 15:39:29 +01:00
parent 1f4e51d829
commit ea93fbb65a

View File

@ -10,7 +10,7 @@
# The ACME server URL # The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory server: https://acme-staging-v02.api.letsencrypt.org/directory
# Email address used for ACME registration # 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 # Name of a secret used to store the ACME account private key
privateKeySecretRef: privateKeySecretRef:
name: letsencrypt-testing name: letsencrypt-testing
@ -18,19 +18,19 @@
http01: {} http01: {}
--- ---
# used after installation for production, recognize 'server: https://acme-v02…' # used after installation for production, recognize 'server: https://acme-v02…'
apiVersion: certmanager.k8s.io/v1alpha1 apiVersion: certmanager.k8s.io/v1alpha1
kind: Issuer kind: Issuer
metadata: metadata:
name: letsencrypt-production name: letsencrypt-production
namespace: ocelot-social namespace: ocelot-social
spec: spec:
acme: acme:
# The ACME server URL # The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration # 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 # Name of a secret used to store the ACME account private key
privateKeySecretRef: privateKeySecretRef:
name: letsencrypt-production name: letsencrypt-production
# Enable the HTTP-01 challenge provider # Enable the HTTP-01 challenge provider
http01: {} http01: {}