Skip to content

Commit

Permalink
cleanup/nais_inbound_outbound (#3462)
Browse files Browse the repository at this point in the history
Opprydding inbound/outbound for alle applikasjoner/proxier.
  • Loading branch information
rfc3092 authored Apr 12, 2024
1 parent 2eec6e0 commit 16fc576
Show file tree
Hide file tree
Showing 59 changed files with 286 additions and 496 deletions.
27 changes: 8 additions & 19 deletions apps/adresse-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,20 @@ spec:
accessPolicy:
inbound:
rules:
- application: testnav-oversikt-frontend
cluster: dev-gcp
- application: dolly-frontend
- application: dolly-frontend-dev
- application: dolly-frontend-dev-unstable
- application: dolly-idporten
- application: team-dolly-lokal-app
cluster: dev-gcp
- application: testnav-endringsmelding-service
- application: testnav-organisasjon-forvalter
cluster: dev-gcp
- application: testnav-oversikt-frontend
- application: testnav-pdl-forvalter
cluster: dev-gcp
- application: testnav-pdl-forvalter-dev
cluster: dev-gcp
- application: tps-forvalteren-dev
cluster: dev-fss
- application: tps-forvalteren
cluster: dev-fss
- application: dolly-frontend-dev
cluster: dev-gcp
- application: dolly-frontend
cluster: dev-gcp
- application: dolly-idporten
cluster: dev-gcp
- application: app-1
namespace: plattformsikkerhet
cluster: dev-gcp
- application: testnav-endringsmelding-service
cluster: dev-gcp
- application: tps-forvalteren-dev
cluster: dev-fss
outbound:
external:
- host: testnav-pdl-proxy.dev-fss-pub.nais.io
18 changes: 4 additions & 14 deletions apps/amelding-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,13 @@ spec:
accessPolicy:
inbound:
rules:
- application: team-dolly-lokal-app
cluster: dev-gcp
- application: testnav-oversikt-frontend
cluster: dev-gcp
- application: dolly-backend-dev
cluster: dev-gcp
- application: dolly-backend
cluster: dev-gcp
- application: dolly-frontend-dev
cluster: dev-gcp
- application: dolly-backend-dev
- application: dolly-frontend
cluster: dev-gcp
- application: dolly-frontend-dev
- application: dolly-idporten
cluster: dev-gcp
- application: app-1
namespace: plattformsikkerhet
cluster: dev-gcp
- application: team-dolly-lokal-app
- application: testnav-oversikt-frontend
outbound:
rules:
- application: testnav-oppsummeringsdokument-service
Expand Down
5 changes: 0 additions & 5 deletions apps/app-tilgang-analyse-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ spec:
inbound:
rules:
- application: team-dolly-lokal-app
cluster: dev-gcp
- application: testnav-oversikt-frontend
cluster: dev-gcp
- application: app-1
cluster: dev-gcp
namespace: plattformsikkerhet
outbound:
external:
- host: api.github.com
Expand Down
3 changes: 1 addition & 2 deletions apps/batch-bestilling-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ spec:
inbound:
rules:
- application: team-dolly-lokal-app
cluster: dev-gcp
- application: testnav-oversikt-frontend
cluster: dev-gcp
outbound:
rules:
- application: dolly-backend
- application: dolly-backend-dev
azure:
application:
allowAllUsers: true
Expand Down
14 changes: 3 additions & 11 deletions apps/bruker-service/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,11 @@ spec:
accessPolicy:
inbound:
rules:
- application: team-dolly-lokal-app
cluster: dev-gcp
- application: testnav-oversikt-frontend
cluster: dev-gcp
- application: dolly-frontend-dev
cluster: dev-gcp
- application: dolly-idporten
cluster: dev-gcp
- application: dolly-frontend-dev-unstable
cluster: dev-gcp
- application: app-1
namespace: plattformsikkerhet
cluster: dev-gcp
- application: dolly-idporten
- application: team-dolly-lokal-app
- application: testnav-oversikt-frontend
outbound:
rules:
- application: testnav-person-organisasjon-tilgang-service-dev
Expand Down
18 changes: 6 additions & 12 deletions apps/dolly-backend/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,16 @@ spec:
accessPolicy:
inbound:
rules:
- application: testnav-oversikt-frontend
cluster: dev-gcp
- application: dolly-frontend-dev
cluster: dev-gcp
- application: dolly-idporten
cluster: dev-gcp
- application: dolly-frontend-dev-unstable
cluster: dev-gcp
- application: testnav-batch-bestilling-service
cluster: dev-gcp
- application: dolly-idporten
- application: team-dolly-lokal-app
cluster: dev-gcp
- application: app-1
namespace: plattformsikkerhet
cluster: dev-gcp
- application: testnav-batch-bestilling-service
- application: testnav-dollystatus
- application: testnav-oversikt-frontend
outbound:
rules:
- application: generer-navn-service
- application: testnav-amelding-service
- application: testnav-arbeidsforhold-service
- application: testnav-arbeidsplassencv-proxy
Expand All @@ -43,6 +36,7 @@ spec:
- application: testnav-organisasjon-service
- application: testnav-pdl-forvalter-dev
- application: testnav-person-service
- application: testnav-popp-testdata-proxy
- application: testnav-sykemelding-api
- application: testnav-synt-sykemelding-api
- application: testnav-tps-messaging-service
Expand Down
24 changes: 9 additions & 15 deletions apps/dolly-backend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,22 @@ spec:
inbound:
rules:
- application: dolly-frontend
cluster: dev-gcp
- application: dolly-idporten
cluster: dev-gcp
- application: testnav-batch-bestilling-service
- application: testnav-dollystatus
cluster: dev-gcp
- application: testnav-helsepersonell-service
- application: testnav-oversikt-frontend
cluster: dev-gcp
- application: testnav-batch-bestilling-service
cluster: dev-gcp
- application: etterlatte-testdata
cluster: dev-gcp
namespace: etterlatte
- application: devtools
cluster: dev-gcp
namespace: aap
- application: bot
cluster: dev-gcp
namespace: aap
- application: testnav-helsepersonell-service
cluster: dev-gcp
- application: devtools
namespace: aap
- application: etterlatte-testdata
namespace: etterlatte
- application: statuspoll
namespace: navdig
outbound:
rules:
- application: generer-navn-service
- application: testnav-amelding-service
- application: testnav-arbeidsforhold-service
- application: testnav-arbeidsplassencv-proxy
Expand All @@ -50,6 +42,8 @@ spec:
- application: testnav-organisasjon-service
- application: testnav-pdl-forvalter
- application: testnav-person-service
- application: testnav-popp-testdata-proxy
- application: testnav-skattekort-service
- application: testnav-sykemelding-api
- application: testnav-synt-sykemelding-api
- application: testnav-tps-messaging-service
Expand Down
38 changes: 23 additions & 15 deletions apps/dolly-frontend/config.idporten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,38 @@ spec:
accessPolicy:
outbound:
rules:
- application: testnorge-tilbakemelding-api
- application: dolly-backend
- application: dolly-backend-dev
- application: dolly-redis-session
- application: generer-navn-service
- application: testnav-adresse-service
- application: testnav-amelding-service
- application: testnav-arbeidsplassencv-proxy
- application: testnav-bruker-service
- application: testnav-bruker-service-dev
- application: testnav-generer-synt-amelding-service
- application: testnav-helsepersonell-service
- application: testnav-joark-dokument-service
- application: testnav-kodeverk-service
- application: testnav-miljoer-service
- application: testnav-organisasjon-service
- application: testnav-organisasjon-forvalter
- application: testnav-oppsummeringsdokument-service
- application: testnorge-profil-api
- application: testnav-organisasjon-tilgang-service
- application: testnav-joark-dokument-service
- application: testnav-organisasjon-faste-data-service
- application: testnav-tps-messaging-service
- application: testnav-varslinger-service
- application: dolly-redis-session
- application: testnav-person-organisasjon-tilgang-service
- application: testnav-organisasjon-forvalter
- application: testnav-organisasjon-service
- application: testnav-organisasjon-tilgang-service
- application: testnav-pdl-forvalter
- application: testnav-bruker-service
- application: testnav-person-faste-data-service
- application: testnav-person-organisasjon-tilgang-service
- application: testnav-person-organisasjon-tilgang-service-dev
- application: testnav-person-search-service
- application: testnav-helsepersonell-service
- application: dolly-backend
- application: testnav-person-service
- application: generer-navn-service
- application: testnav-kodeverk-service
- application: testnav-skattekort-service
- application: testnav-sykemelding-api
- application: testnav-tenor-search-service
- application: testnav-tps-messaging-service
- application: testnav-varslinger-service
- application: testnorge-profil-api
- application: testnorge-tilbakemelding-api
external:
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
Expand Down
36 changes: 21 additions & 15 deletions apps/dolly-frontend/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,36 @@ spec:
accessPolicy:
outbound:
rules:
- application: dolly-backend-dev
- application: dolly-dev-redis-session
- application: generer-navn-service
- application: testnav-adresse-service
- application: testnav-amelding-service
- application: testnav-arbeidsplassencv-proxy
- application: testnav-bruker-service-dev
- application: testnav-generer-synt-amelding-service
- application: testnav-helsepersonell-service
- application: testnav-joark-dokument-service
- application: testnav-kodeverk-service
- application: testnav-miljoer-service
- application: testnav-organisasjon-service
- application: testnav-organisasjon-forvalter
- application: testnorge-profil-api-dev
- application: testnav-organisasjon-tilgang-service
- application: testnav-oppsummeringsdokument-service
- application: testnav-joark-dokument-service
- application: testnav-organisasjon-faste-data-service
- application: testnav-tps-messaging-service
- application: testnav-varslinger-service-dev
- application: dolly-dev-redis-session
- application: testnav-person-organisasjon-tilgang-service-dev
- application: testnav-organisasjon-forvalter
- application: testnav-organisasjon-service
- application: testnav-organisasjon-tilgang-service
- application: testnav-pdl-forvalter-dev
- application: testnav-bruker-service-dev
- application: testnav-person-faste-data-service
- application: testnav-person-organisasjon-tilgang-service-dev
- application: testnav-person-search-service
- application: testnav-helsepersonell-service
- application: testnorge-tilbakemelding-api
- application: dolly-backend-dev
- application: testnav-person-service
- application: generer-navn-service
- application: testnav-kodeverk-service
- application: testnav-popp-testdata-proxy
- application: testnav-sykemelding-api
- application: testnav-tenor-search-service
- application: testnav-tps-messaging-service
- application: testnav-varslinger-service
- application: testnav-varslinger-service-dev
- application: testnorge-profil-api-dev
- application: testnorge-tilbakemelding-api
external:
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
Expand Down
34 changes: 17 additions & 17 deletions apps/dolly-frontend/config.unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,30 @@ spec:
accessPolicy:
outbound:
rules:
- application: testnav-arbeidsplassencv-proxy
- application: generer-navn-service
- application: testnav-person-service
- application: dolly-backend-dev
- application: testnav-helsepersonell-service
- application: testnav-person-search-service
- application: testnav-bruker-service-dev
- application: testnav-pdl-forvalter-dev
- application: testnav-person-organisasjon-tilgang-service-dev
- application: dolly-dev-redis-session
- application: testnav-varslinger-service-dev
- application: testnav-tps-messaging-service
- application: testnav-organisasjon-faste-data-service
- application: generer-navn-service
- application: testnav-adresse-service
- application: testnav-arbeidsplassencv-proxy
- application: testnav-bruker-service-dev
- application: testnav-helsepersonell-service
- application: testnav-joark-dokument-service
- application: testnav-kodeverk-service
- application: testnav-miljoer-service
- application: testnav-oppsummeringsdokument-service
- application: testnav-organisasjon-tilgang-service
- application: testnorge-profil-api-dev
- application: testnav-organisasjon-faste-data-service
- application: testnav-organisasjon-forvalter
- application: testnav-organisasjon-service
- application: testnav-miljoer-service
- application: testnav-adresse-service
- application: testnorge-tilbakemelding-api
- application: testnav-kodeverk-service
- application: testnav-organisasjon-tilgang-service
- application: testnav-pdl-forvalter-dev
- application: testnav-person-organisasjon-tilgang-service-dev
- application: testnav-person-search-service
- application: testnav-person-service
- application: testnav-tenor-search-service
- application: testnav-tps-messaging-service
- application: testnav-varslinger-service-dev
- application: testnorge-profil-api-dev
- application: testnorge-tilbakemelding-api
external:
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
Expand Down
Loading

0 comments on commit 16fc576

Please sign in to comment.