Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Legger til første Unleash Next-intergrasjon
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeofnorway committed Oct 6, 2023
1 parent a4940a2 commit 7d32851
Show file tree
Hide file tree
Showing 14 changed files with 944 additions and 79 deletions.
4 changes: 3 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ CASETYPE_ID=66D660EF-6F14-44B4-8ADE-A70A127202D0
NAV_GROUP_ID=A034081B-6B73-46B7-BE27-23B8E9CE3079
OPPORTUNITY_ID=615FF5E7-37B7-4697-A35F-72598B0DC53B
SOLUTION_ID=5EB316A1-11E2-460A-B4E3-F82DBD13E21D
VARSEL_API_URL=http://localhost:8095/tms-varsel-api
VARSEL_API_URL=http://localhost:8095/tms-varsel-api
UNLEASH_SERVER_API_URL=http://localhost:8095/unleash
UNLEASH_SERVER_API_TOKEN=dummy_token
1 change: 1 addition & 0 deletions .nais/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
{{/each}}
envFrom:
- secret: nav-dekoratoren
- secret: {{appName}}-unleash-api-token
filesFrom:
- configmap: dekoratoren-config
mountPath: /app/config
Expand Down
17 changes: 17 additions & 0 deletions .nais/unleash-apitoken.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: unleash.nais.io/v1
kind: ApiToken
metadata:
name: {{appName}}
namespace: navno
labels:
team: navno
spec:
unleashInstance:
apiVersion: unleash.nais.io/v1
kind: RemoteUnleash
name: navno
secretName: {{appName}}-unleash-api-token

# Specify which environment the API token should be created for.
# Can be one of: development, or production.
environment: {{unleashEnvironment}}
2 changes: 2 additions & 0 deletions .nais/vars/dev-beta-navno.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
appName: nav-dekoratoren-beta
appPath: ''
unleashEnvironment: development
ingresses:
- https://dekoratoren-beta.intern.dev.nav.no
outboundHosts:
- portal-admin-q6.oera.no
- navno-unleash-api.nav.cloud.nais.io
env:
- name: ENV
value: dev
Expand Down
2 changes: 2 additions & 0 deletions .nais/vars/dev-beta-tms.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
appName: nav-dekoratoren-beta-tms
appPath: ''
unleashEnvironment: development
ingresses:
- https://dekoratoren-beta-tms.intern.dev.nav.no
outboundHosts:
- portal-admin-dev.oera.no
- navno-unleash-api.nav.cloud.nais.io
env:
- name: ENV
value: dev
Expand Down
2 changes: 2 additions & 0 deletions .nais/vars/dev-stable.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
appName: nav-dekoratoren
appPath: ''
unleashEnvironment: development
ingresses:
- https://dekoratoren.ekstern.dev.nav.no
outboundHosts:
- portal-admin-dev.oera.no
- navno-unleash-api.nav.cloud.nais.io
env:
- name: ENV
value: dev
Expand Down
2 changes: 2 additions & 0 deletions .nais/vars/prod.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
appName: nav-dekoratoren
appPath: /dekoratoren
unleashEnvironment: production
ingresses:
- https://appres.nav.no/common-html/v4/navno
- https://www.nav.no/dekoratoren
outboundHosts:
- www.nav.no
- navno-unleash-api.nav.cloud.nais.io
env:
- name: ENV
value: prod
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ webpack.client.config.js
webpack.server.config.js
package.json
*.yml
*.yaml
Loading

0 comments on commit 7d32851

Please sign in to comment.