From 77265d815de86692a9e5374867baf1b28c44c826 Mon Sep 17 00:00:00 2001 From: eskild <42120229+iameskild@users.noreply.github.com> Date: Tue, 13 Sep 2022 10:40:42 -0700 Subject: [PATCH] Add properties to middleware crd headers (#1434) * Add properties to middleware crd headers * use additionalProperties instead --- .../modules/traefik_crds/main.tf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qhub/template/stages/03-kubernetes-initialize/modules/traefik_crds/main.tf b/qhub/template/stages/03-kubernetes-initialize/modules/traefik_crds/main.tf index c2335adf22..ffc5bf09a1 100644 --- a/qhub/template/stages/03-kubernetes-initialize/modules/traefik_crds/main.tf +++ b/qhub/template/stages/03-kubernetes-initialize/modules/traefik_crds/main.tf @@ -548,9 +548,15 @@ resource "kubernetes_manifest" "middleware" { type = "object" properties = { customRequestHeaders = { + additionalProperties = { + type = "string" + } type = "object" } customResponseHeaders = { + additionalProperties = { + type = "string" + } type = "object" } accessControlAllowCredentials = { @@ -611,6 +617,9 @@ resource "kubernetes_manifest" "middleware" { type = "string" } sslProxyHeaders = { + additionalProperties = { + type = "string" + } type = "object" } sslForceHost = {