From 753d77f90167e470f18f9cf48d6786e8aa911c33 Mon Sep 17 00:00:00 2001 From: Egil Ballestad Date: Thu, 8 Aug 2024 09:53:17 +0200 Subject: [PATCH] turn off fetching userdata from azure-ad for all counties --- kustomize/base/flais.yaml | 2 +- kustomize/overlays/agderfk-no/api/kustomization.yaml | 3 --- kustomize/overlays/ffk-no/api/kustomization.yaml | 3 --- kustomize/overlays/mrfylke-no/api/kustomization.yaml | 3 --- kustomize/overlays/tromsfylke-no/api/kustomization.yaml | 3 --- kustomize/overlays/tromsfylke-no/beta/kustomization.yaml | 3 --- kustomize/overlays/trondelagfylke-no/api/kustomization.yaml | 3 --- kustomize/overlays/trondelagfylke-no/beta/kustomization.yaml | 3 --- kustomize/overlays/vlfk-no/api/kustomization.yaml | 3 --- kustomize/overlays/vlfk-no/beta/kustomization.yaml | 3 --- src/main/resources/application-local-staging.yaml | 2 +- 11 files changed, 2 insertions(+), 29 deletions(-) diff --git a/kustomize/base/flais.yaml b/kustomize/base/flais.yaml index 5b1c022..b2ae926 100644 --- a/kustomize/base/flais.yaml +++ b/kustomize/base/flais.yaml @@ -42,7 +42,7 @@ spec: - name: fint.flyt.resource-server.security.api.internal.enabled value: 'true' - name: fint.flyt.azure-ad-gateway.enabled - value: 'true' + value: 'false' onePassword: itemPath: path envFrom: [] diff --git a/kustomize/overlays/agderfk-no/api/kustomization.yaml b/kustomize/overlays/agderfk-no/api/kustomization.yaml index 8453b04..72e2340 100644 --- a/kustomize/overlays/agderfk-no/api/kustomization.yaml +++ b/kustomize/overlays/agderfk-no/api/kustomization.yaml @@ -34,9 +34,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' target: kind: Application name: fint-flyt-authorization-service \ No newline at end of file diff --git a/kustomize/overlays/ffk-no/api/kustomization.yaml b/kustomize/overlays/ffk-no/api/kustomization.yaml index 16882db..6fb48d2 100644 --- a/kustomize/overlays/ffk-no/api/kustomization.yaml +++ b/kustomize/overlays/ffk-no/api/kustomization.yaml @@ -34,9 +34,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' target: kind: Application name: fint-flyt-authorization-service \ No newline at end of file diff --git a/kustomize/overlays/mrfylke-no/api/kustomization.yaml b/kustomize/overlays/mrfylke-no/api/kustomization.yaml index 9f98ce9..c96f083 100644 --- a/kustomize/overlays/mrfylke-no/api/kustomization.yaml +++ b/kustomize/overlays/mrfylke-no/api/kustomization.yaml @@ -34,9 +34,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' target: kind: Application name: fint-flyt-authorization-service \ No newline at end of file diff --git a/kustomize/overlays/tromsfylke-no/api/kustomization.yaml b/kustomize/overlays/tromsfylke-no/api/kustomization.yaml index 74cea06..869bad8 100644 --- a/kustomize/overlays/tromsfylke-no/api/kustomization.yaml +++ b/kustomize/overlays/tromsfylke-no/api/kustomization.yaml @@ -34,9 +34,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' target: kind: Application name: fint-flyt-authorization-service \ No newline at end of file diff --git a/kustomize/overlays/tromsfylke-no/beta/kustomization.yaml b/kustomize/overlays/tromsfylke-no/beta/kustomization.yaml index 9833d13..dbed73c 100644 --- a/kustomize/overlays/tromsfylke-no/beta/kustomization.yaml +++ b/kustomize/overlays/tromsfylke-no/beta/kustomization.yaml @@ -35,9 +35,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' - op: add path: "/spec/envFrom/0" value: diff --git a/kustomize/overlays/trondelagfylke-no/api/kustomization.yaml b/kustomize/overlays/trondelagfylke-no/api/kustomization.yaml index c42cb99..f4bd862 100644 --- a/kustomize/overlays/trondelagfylke-no/api/kustomization.yaml +++ b/kustomize/overlays/trondelagfylke-no/api/kustomization.yaml @@ -34,9 +34,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' target: kind: Application name: fint-flyt-authorization-service \ No newline at end of file diff --git a/kustomize/overlays/trondelagfylke-no/beta/kustomization.yaml b/kustomize/overlays/trondelagfylke-no/beta/kustomization.yaml index 355e48b..196f363 100644 --- a/kustomize/overlays/trondelagfylke-no/beta/kustomization.yaml +++ b/kustomize/overlays/trondelagfylke-no/beta/kustomization.yaml @@ -34,9 +34,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' target: kind: Application name: fint-flyt-authorization-service \ No newline at end of file diff --git a/kustomize/overlays/vlfk-no/api/kustomization.yaml b/kustomize/overlays/vlfk-no/api/kustomization.yaml index 418be41..3fe25e6 100644 --- a/kustomize/overlays/vlfk-no/api/kustomization.yaml +++ b/kustomize/overlays/vlfk-no/api/kustomization.yaml @@ -34,9 +34,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' target: kind: Application name: fint-flyt-authorization-service \ No newline at end of file diff --git a/kustomize/overlays/vlfk-no/beta/kustomization.yaml b/kustomize/overlays/vlfk-no/beta/kustomization.yaml index 0a3746d..fe927d2 100644 --- a/kustomize/overlays/vlfk-no/beta/kustomization.yaml +++ b/kustomize/overlays/vlfk-no/beta/kustomization.yaml @@ -35,9 +35,6 @@ patches: "vigo.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"], "novari.no":["https://role-catalog.vigoiks.no/vigo/flyt/developer"] } - - op: replace - path: "/spec/env/3/value" - value: 'false' - op: add path: "/spec/env/-" value: diff --git a/src/main/resources/application-local-staging.yaml b/src/main/resources/application-local-staging.yaml index fae5dbe..f682849 100644 --- a/src/main/resources/application-local-staging.yaml +++ b/src/main/resources/application-local-staging.yaml @@ -2,7 +2,7 @@ fint: org-id: fintlabs.no flyt: azure-ad-gateway: - enabled: true + enabled: false resource-server: security: api: