Skip to content

Commit

Permalink
accessPolicy for service discovery på dekoratør, rettigheter for cach…
Browse files Browse the repository at this point in the history
…ing i next
  • Loading branch information
mrbjoern authored Sep 26, 2023
2 parents d025bb8 + ca81eb6 commit c31f596
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion .nais/dev-gcp.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ingresses:
- https://aap-kalkulator.dev.nav.no
- https://aap-kalkulator.ekstern.dev.nav.no
env:
- name: DEKORATOR_ENV
Expand Down
1 change: 0 additions & 1 deletion .nais/prod-gcp.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ingresses:
- https://aap-kalkulator.intern.nav.no
- https://www.nav.no/aap/kalkulator
env:
- name: DEKORATOR_ENV
Expand Down
8 changes: 7 additions & 1 deletion nais.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,16 @@ spec:
{{#each ingresses as |url|}}
- {{url}}
{{/each}}
filesFrom:
- emptyDir:
medium: Memory
mountPath: /app/.next/cache
accessPolicy:
outbound:
rules:
- application: nav-dekoratoren
namespace: personbruker
external:
- host: "www.nav.no"
- host: "g.nav.no"
env:
{{#each env}}
Expand Down

0 comments on commit c31f596

Please sign in to comment.