Skip to content

Commit

Permalink
Legger til inbound policy
Browse files Browse the repository at this point in the history
  • Loading branch information
dijjal committed Jan 4, 2024
1 parent cfe3f8d commit bba6d0d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .deploy/dev-gcp-teamforeldrepenger.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"minReplicas": "1",
"maxReplicas": "2"
"maxReplicas": "2",
"consumers": [
"foreldrepengesoknad-api"
]
}
8 changes: 8 additions & 0 deletions .deploy/naiserator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,11 @@ spec:
memory: "512Mi"
secureLogs:
enabled: true
{{#if consumers}}
accessPolicy:
inbound:
rules:
{{#each consumers as |app|}}
- application: {{app}}
{{/each}}
{{/if}}
5 changes: 4 additions & 1 deletion .deploy/prod-gcp-teamforeldrepenger.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"minReplicas": "2",
"maxReplicas": "3"
"maxReplicas": "3",
"consumers": [
"foreldrepengesoknad-api"
]
}

0 comments on commit bba6d0d

Please sign in to comment.