From a0303de9e36b1b8bd7594d9406bd259209ee6b3f Mon Sep 17 00:00:00 2001 From: Martin Almvik Date: Thu, 2 Jan 2025 11:19:58 +0100 Subject: [PATCH] Bruk service discovery til norg2 i gcp --- nais/dev/preprod.yaml | 5 +++-- nais/prod/prod-gcp.yaml | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nais/dev/preprod.yaml b/nais/dev/preprod.yaml index 33777566c..84190e19e 100644 --- a/nais/dev/preprod.yaml +++ b/nais/dev/preprod.yaml @@ -39,13 +39,14 @@ spec: - host: api.fiks.test.ks.no - host: minside.fiks.test.ks.no - host: pdl-api.dev-fss-pub.nais.io - - host: norg2.dev-fss-pub.nais.io - host: unleash.nais.io - host: teamdigisos-unleash-api.nav.cloud.nais.io - host: test.idporten.no rules: - application: clamav namespace: clamav + - application: norg2 + namespace: org inbound: rules: - application: sosialhjelp-innsyn @@ -73,7 +74,7 @@ spec: - name: FIKS_DOKUMENTLAGER_ENDPOINT_URL value: "https://minside.fiks.test.ks.no" - name: NORG_URL - value: "https://norg2.dev-fss-pub.nais.io/norg2/api/v1" + value: "http://norg2.org/norg2/api/v1" - name: CACHE_TIME_TO_LIVE_SECONDS value: "10" - name: DOKUMENT_CACHE_TIME_TO_LIVE_SECONDS diff --git a/nais/prod/prod-gcp.yaml b/nais/prod/prod-gcp.yaml index 113a51625..ea58462a9 100644 --- a/nais/prod/prod-gcp.yaml +++ b/nais/prod/prod-gcp.yaml @@ -46,6 +46,8 @@ spec: rules: - application: clamav namespace: clamav + - application: norg2 + namespace: org inbound: rules: - application: sosialhjelp-innsyn @@ -72,7 +74,7 @@ spec: - name: FIKS_DOKUMENTLAGER_ENDPOINT_URL value: "https://minside.fiks.ks.no" - name: NORG_URL - value: "https://norg2.prod-fss-pub.nais.io/norg2/api/v1" + value: "http://norg2.org/norg2/api/v1" - name: CACHE_TIME_TO_LIVE_SECONDS value: "10" - name: DOKUMENT_CACHE_TIME_TO_LIVE_SECONDS