Add cert-manager for rut-test.

This commit is contained in:
Mikael Frykholm 2024-11-07 15:04:33 +01:00
parent 2ff04454dc
commit bb05601c5c
Signed by: mifr
GPG key ID: 1467F9D69135C236

20
k8s/cert-manager.yaml Normal file
View file

@ -0,0 +1,20 @@
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
# You must replace this email address with your own.
# Let's Encrypt will use this to contact you about expiring
# certificates, and issues related to your account.
email: mifr@sunet.se
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
name: letsencrypt-account-key
# Add a single challenge solver, HTTP01 using nginx
solvers:
- http01:
ingress:
class: public