Added initial infrastructure defintions
This commit is contained in:
16
gitea/templates/letsencrypt-issuer.yaml
Normal file
16
gitea/templates/letsencrypt-issuer.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: lets-encrypt
|
||||
spec:
|
||||
acme:
|
||||
email: {{ .Values.global.domain.mail }}
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
privateKeySecretRef:
|
||||
# Secret resource that will be used to store the account's private key.
|
||||
name: lets-encrypt-private-key
|
||||
# Add a single challenge solver, HTTP01 using nginx
|
||||
solvers:
|
||||
- http01:
|
||||
ingress:
|
||||
class: public
|
||||
Reference in New Issue
Block a user