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 {
|
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user