mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Clean up ingress and issuer
This commit is contained in:
parent
28c3d185c3
commit
80968e3a8c
@ -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:
|
||||
|
||||
@ -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 !!!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user