Skip to content

Commit 86a7be0

Browse files
committed
Oppdater topics og unleash config for nytt namespace
1 parent 8ab87c3 commit 86a7be0

4 files changed

+22
-21
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: kafka.nais.io/v1
22
kind: Topic
33
metadata:
4-
name: privat-tbk-hentfagsystemsbehandling-request-topic
5-
namespace: teamfamilie
4+
name: privat-tbk-hentfagsystemsbehandling
5+
namespace: tilbake
66
labels:
7-
team: teamfamilie
7+
team: tilbake
88
spec:
99
pool: nav-prod
1010
config: # optional; all fields are optional too; defaults shown
@@ -15,19 +15,18 @@ spec:
1515
retentionBytes: -1 # -1 means unlimited
1616
retentionHours: 72 # -1 means unlimited
1717
acl:
18-
- team: teamfamilie
19-
application: familie-tilbake #owner
18+
- team: tilbake
19+
application: tilbakekreving-backend #owner
2020
access: readwrite # readwrite
2121
- team: teamfamilie
2222
application: familie-ba-sak #owner
2323
access: read # readwrite
2424
- team: teamfamilie
2525
application: familie-ks-sak
26-
access: read # read
26+
access: read # read
2727
- team: teamfamilie
2828
application: familie-ef-iverksett #owner
2929
access: read # readwrite
3030
- team: teamfamilie
3131
application: familie-tilbake-kafka-manager #forvalter
3232
access: read # read
33-
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: kafka.nais.io/v1
22
kind: Topic
33
metadata:
4-
name: privat-tbk-hentfagsystemsbehandling-respons-topic
5-
namespace: teamfamilie
4+
name: privat-tbk-hentfagsystemsbehandling-svar
5+
namespace: tilbake
66
labels:
7-
team: teamfamilie
7+
team: tilbake
88
spec:
99
pool: nav-prod
1010
config: # optional; all fields are optional too; defaults shown
@@ -15,19 +15,18 @@ spec:
1515
retentionBytes: -1 # -1 means unlimited
1616
retentionHours: 72 # -1 means unlimited
1717
acl:
18-
- team: teamfamilie
19-
application: familie-tilbake #owner
18+
- team: tilbake
19+
application: tilbakekreving-backend #owner
2020
access: readwrite # readwrite
2121
- team: teamfamilie
2222
application: familie-ba-sak #owner
2323
access: write # readwrite
2424
- team: teamfamilie
2525
application: familie-ks-sak
26-
access: write # readwrite
26+
access: write # readwrite
2727
- team: teamfamilie
2828
application: familie-ef-iverksett #owner
2929
access: write # readwrite
3030
- team: teamfamilie
3131
application: familie-tilbake-kafka-manager #forvalter
3232
access: read # read
33-
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
apiVersion: unleash.nais.io/v1
22
kind: ApiToken
33
metadata:
4-
name: familie-klage
5-
namespace: teamfamilie
4+
name: tilbakekreving-backend
5+
namespace: tilbake
66
labels:
7-
team: teamfamilie
7+
team: tilbake
88
spec:
99
unleashInstance:
1010
apiVersion: unleash.nais.io/v1
1111
kind: RemoteUnleash
12-
name: teamfamilie
13-
secretName: familie-tilbake-unleash-api-token
12+
name: tilbake
13+
secretName: tilbakekreving-backend-unleash-api-token
1414

1515
# Specify which environment the API token should be created for.
1616
# Can be one of: development, or production.
17-
environment: production
17+
environment: production

.github/workflows/deploy-unleash-api-token.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ jobs:
2020
ENVIRONMENT: dev-gcp:tilbake
2121
deploy-prod:
2222
runs-on: ubuntu-latest
23+
permissions:
24+
contents: "read"
25+
id-token: "write"
2326
steps:
2427
- name: Checkout code
2528
uses: actions/checkout@v4
2629
- name: deploy unleash api-token to prod
2730
uses: nais/deploy/actions/deploy@v2
2831
env:
29-
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
3032
CLUSTER: prod-gcp
3133
RESOURCE: .deploy/nais/unleash/unleash-apitoken-prod.yaml
34+
ENVIRONMENT: prod-gcp:tilbake

0 commit comments

Comments
 (0)