Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jjno91 committed Jun 26, 2020
1 parent f258cc9 commit 9118ca2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ resource "kubernetes_ingress" "this" {

annotations = {
"kubernetes.io/ingress.class" = "nginx"
"nginx.ingress.kubernetes.io/ssl-redirect" = var.ssl
"nginx.ingress.kubernetes.io/force-ssl-redirect" = var.ssl
"nginx.ingress.kubernetes.io/ssl-redirect" = var.ssl_redirect
"nginx.ingress.kubernetes.io/force-ssl-redirect" = var.ssl_redirect
}
}

Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ variable "jnlp_port" {
default = "50000"
}

variable "ssl" {
variable "ssl_redirect" {
description = "https://kubernetes.github.io/ingress-nginx/user-guide/tls/#server-side-https-enforcement-through-redirect"
default = true
}

0 comments on commit 9118ca2

Please sign in to comment.