Migrate the middleware to the new CRD

This commit is contained in:
2024-02-15 14:36:39 +01:00
parent a77bf1ec51
commit 140321f714
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ resource "kubectl_manifest" "prj_certificate" {
resource "kubectl_manifest" "prj_https_redirect" {
count = var.create_redirect || var.component == "" ? 1 : 0
yaml_body = <<-EOF
apiVersion: "traefik.containo.us/v1alpha1"
apiVersion: "traefik.io/v1alpha1"
kind: "Middleware"
metadata:
name: "${local.app_slug}-https"