Skip to content

Commit

Permalink
outbound rules
Browse files Browse the repository at this point in the history
  • Loading branch information
vebnor committed Dec 23, 2024
1 parent 5035f83 commit 8a9fa67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions nais/dev-gcp.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
ingresses:
- https://k9-punsj-frontend.intern.dev.nav.no
outboundRules:
- k9-punsj.intern.dev.nav.no
outboundExternalHosts:
- k9-punsj.dev-fss-pub.nais.io
- k9-formidling.dev-fss-pub.nais.io
azureTenant: trygdeetaten.no
proxyRedirects:
- path: '/api/k9-punsj'
scope: 'api://dev-fss.k9saksbehandling.k9-punsj/.default'
url: 'https://k9-punsj.dev-fss-pub.nais.io'
scope: 'api://dev-gcp.k9saksbehandling.k9-punsj/.default'
url: 'https://k9-punsj.intern.dev.nav.no'
- path: '/api/k9-formidling'
scope: 'api://dev-fss.k9saksbehandling.k9-formidling/.default'
url: 'https://k9-formidling.dev-fss-pub.nais.io'
Expand Down
4 changes: 4 additions & 0 deletions nais/k9-punsj-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ spec:
memory: 128Mi
accessPolicy:
outbound:
rules:
{{#each outboundRules as |outboundRule|}}
- application: {{outboundRule}}
{{/each}}
external:
{{#each outboundExternalHosts as |host|}}
- host: {{host}}
Expand Down

0 comments on commit 8a9fa67

Please sign in to comment.