trial and error

This commit is contained in:
Micke Nordin 2024-10-16 14:19:48 +02:00
parent 656d429e35
commit 49d0fc411a
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -1,13 +1,10 @@
apiVersion: cert-manager.io/v1 apiVersion: cert-manager.io/v1
kind: Issuer kind: Issuer
metadata: metadata:
name: lets-encrypt name: "lets-encrypt"
namespace: kube-system namespace: argocd
spec: spec:
acme: 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: drive@sunet.se email: drive@sunet.se
server: https://acme-v02.api.letsencrypt.org/directory server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef: privateKeySecretRef:
@ -15,6 +12,7 @@ spec:
name: argocd-letsencrypt-account-key name: argocd-letsencrypt-account-key
# Add a single challenge solver, HTTP01 using nginx # Add a single challenge solver, HTTP01 using nginx
solvers: solvers:
- http01: - selector: {}
ingress: http01:
IngressClassName: nginx ingress:
class: public