Adding required annotations for cert-manager on the ingress resource
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 15s

This commit is contained in:
shockrah 2025-10-03 18:04:20 -07:00
parent de3bff8f14
commit 859201109e

View File

@ -2,9 +2,16 @@ resource kubernetes_ingress_v1 health {
metadata { metadata {
name = "health-ingress" name = "health-ingress"
namespace = var.playground.namespace namespace = var.playground.namespace
annotations = {
"cert-manager.io/cluster-issuer" = "letsencrypt"
}
} }
spec { spec {
ingress_class_name = "nginx" ingress_class_name = "nginx"
tls {
hosts = [ "sanity.shockrah.xyz" ]
secret_name = "shockrah"
}
rule { rule {
http { http {
path { path {