Adding required annotations for cert-manager on the ingress resource
This commit is contained in:
parent
de3bff8f14
commit
859201109e
@ -2,9 +2,16 @@ resource kubernetes_ingress_v1 health {
|
||||
metadata {
|
||||
name = "health-ingress"
|
||||
namespace = var.playground.namespace
|
||||
annotations = {
|
||||
"cert-manager.io/cluster-issuer" = "letsencrypt"
|
||||
}
|
||||
}
|
||||
spec {
|
||||
ingress_class_name = "nginx"
|
||||
tls {
|
||||
hosts = [ "sanity.shockrah.xyz" ]
|
||||
secret_name = "shockrah"
|
||||
}
|
||||
rule {
|
||||
http {
|
||||
path {
|
||||
|
Loading…
Reference in New Issue
Block a user