Adding annotations & host field to ingress

Also updating the staging target to production target for lets encrypt cluster issuer
This commit is contained in:
shockrah 2025-10-21 12:42:02 -07:00
parent 859201109e
commit 990d29ae6c
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ metadata:
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory
server: https://acme-v02.api.letsencrypt.org/directory
preferredChain: "ISRG Root X1"
# Email address used for ACME registration
email: dev@shockrah.xyz

View File

@ -4,6 +4,7 @@ resource kubernetes_ingress_v1 health {
namespace = var.playground.namespace
annotations = {
"cert-manager.io/cluster-issuer" = "letsencrypt"
"cert-manager.io/ingress.class" = "nginx"
}
}
spec {
@ -13,6 +14,7 @@ resource kubernetes_ingress_v1 health {
secret_name = "shockrah"
}
rule {
host = "sanity.shockrah.xyz"
http {
path {
path = "/"