Skip to content

Commit

Permalink
fix: remove legacy ingress annotations
Browse files Browse the repository at this point in the history
The SSL redirection is no longer defined by these annotations, I think this is a leftover from ancient code. The HTTP -> HTTPS redirection is handled natively by the Traefik module and is enabled by default (a variable is available to deactivate it if necessary).
  • Loading branch information
lentidas committed Mar 1, 2024
1 parent 0829e12 commit c1613f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ locals {
"cert-manager.io/cluster-issuer" = "${var.cluster_issuer}"
"traefik.ingress.kubernetes.io/router.entrypoints" = "websecure"
"traefik.ingress.kubernetes.io/router.tls" = "true"
"ingress.kubernetes.io/ssl-redirect" = "true"
"kubernetes.io/ingress.allow-http" = "false"
}
}
grafana_dashboard = {
Expand Down

0 comments on commit c1613f6

Please sign in to comment.