Adding annotations & host field to ingress
Also updating the staging target to production target for lets encrypt cluster issuer
This commit is contained in:
parent
859201109e
commit
990d29ae6c
@ -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
|
||||
|
@ -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 = "/"
|
||||
|
Loading…
Reference in New Issue
Block a user