Skip to content

Commit

Permalink
Merge pull request #2175 from navikt/skrivestotte-gcp
Browse files Browse the repository at this point in the history
Bruk skrivestotte i GCP
  • Loading branch information
LudvigHz authored Jun 3, 2024
2 parents 2b2e58d + f9d63f2 commit 3e8bef7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .nais/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ spec:
outbound:
external:
- host: personoversikt-unleash-api.nav.cloud.nais.io
rules:
- application: modiapersonoversikt-skrivestotte
namespace: personoversikt
cluster: prod-gcp
envFrom:
- secret: modiapersonoversikt-unleash-api-token
env:
Expand Down
4 changes: 2 additions & 2 deletions proxy-config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[
{
"prefix": "proxy/modia-skrivestotte",
"url": "http://modiapersonoversikt-skrivestotte.personoversikt.svc.nais.local/modiapersonoversikt-skrivestotte",
"rewriteDirectives": ["SET_ON_BEHALF_OF_TOKEN prod-fss personoversikt modiapersonoversikt-skrivestotte"]
"url": "https://modiapersonoversikt-skrivestotte.intern.nav.no",
"rewriteDirectives": ["SET_ON_BEHALF_OF_TOKEN prod-gcp personoversikt modiapersonoversikt-skrivestotte"]
},
{
"prefix": "proxy/modia-draft",
Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export default defineConfig({
headers: {
Authorization: `Bearer ${process.env.LOCAL_TOKEN}`
}
},
'/modiapersonoversikt-draft': {
target: 'wss://modiapersonoversikt-draft.intern.dev.nav.no',
changeOrigin: true
}
}
},
Expand Down

0 comments on commit 3e8bef7

Please sign in to comment.