Clean up ingress and issuer

This commit is contained in:
Wolfgang Huß 2020-12-16 14:43:30 +01:00
parent 28c3d185c3
commit 80968e3a8c
2 changed files with 1 additions and 37 deletions

View File

@ -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:

View File

@ -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 !!!