diff --git a/kubernetes/letsencrypt-production.yaml b/kubernetes/letsencrypt-production.yaml index 13df87b..31fb724 100644 --- a/kubernetes/letsencrypt-production.yaml +++ b/kubernetes/letsencrypt-production.yaml @@ -12,8 +12,9 @@ spec: privateKeySecretRef: # Secret resource used to store the account's private key. name: letsencrypt-production-account-key - # Add a single challenge solver, HTTP01 using nginx + # Add a single challenge solver, HTTP01 using the gitea-ingress + # https://docs.cert-manager.io/en/latest/reference/api-docs/index.html#acmechallengesolverhttp01ingress-v1alpha1 solvers: - http01: ingress: - class: nginx + name: gitea-ingress diff --git a/kubernetes/letsencrypt-staging.yaml b/kubernetes/letsencrypt-staging.yaml index cc2094e..6e7acc2 100644 --- a/kubernetes/letsencrypt-staging.yaml +++ b/kubernetes/letsencrypt-staging.yaml @@ -4,7 +4,6 @@ metadata: name: letsencrypt-staging 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: ops@kosmos.org @@ -12,8 +11,9 @@ spec: privateKeySecretRef: # Secret resource used to store the account's private key. name: letsencrypt-staging-account-key - # Add a single challenge solver, HTTP01 using nginx + # Add a single challenge solver, HTTP01 using the gitea-ingress + # https://docs.cert-manager.io/en/latest/reference/api-docs/index.html#acmechallengesolverhttp01ingress-v1alpha1 solvers: - http01: ingress: - class: nginx + name: gitea-ingress