Explicitly set the ingress name to gitea-ingress
The old config was generating a separate nginx ingress instead of attaching the HTTP challenge URL to our existing ingress (gitea-ingress)
This commit is contained in:
parent
ed48c92e4f
commit
91dab0f121
@ -12,8 +12,9 @@ spec:
|
|||||||
privateKeySecretRef:
|
privateKeySecretRef:
|
||||||
# Secret resource used to store the account's private key.
|
# Secret resource used to store the account's private key.
|
||||||
name: letsencrypt-production-account-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:
|
solvers:
|
||||||
- http01:
|
- http01:
|
||||||
ingress:
|
ingress:
|
||||||
class: nginx
|
name: gitea-ingress
|
||||||
|
@ -4,7 +4,6 @@ metadata:
|
|||||||
name: letsencrypt-staging
|
name: letsencrypt-staging
|
||||||
spec:
|
spec:
|
||||||
acme:
|
acme:
|
||||||
# You must replace this email address with your own.
|
|
||||||
# Let's Encrypt will use this to contact you about expiring
|
# Let's Encrypt will use this to contact you about expiring
|
||||||
# certificates, and issues related to your account.
|
# certificates, and issues related to your account.
|
||||||
email: ops@kosmos.org
|
email: ops@kosmos.org
|
||||||
@ -12,8 +11,9 @@ spec:
|
|||||||
privateKeySecretRef:
|
privateKeySecretRef:
|
||||||
# Secret resource used to store the account's private key.
|
# Secret resource used to store the account's private key.
|
||||||
name: letsencrypt-staging-account-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:
|
solvers:
|
||||||
- http01:
|
- http01:
|
||||||
ingress:
|
ingress:
|
||||||
class: nginx
|
name: gitea-ingress
|
||||||
|
Reference in New Issue
Block a user