Skip to content

Commit

Permalink
Merge branch 'master' into feature/statistikk-side
Browse files Browse the repository at this point in the history
  • Loading branch information
stigus committed Oct 16, 2023
2 parents 1057ea1 + 3dc4cd0 commit f360759
Show file tree
Hide file tree
Showing 12 changed files with 398 additions and 132 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/idporten.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy idporten

on:
push:
branches:
- master
paths:
- '.nais/idporten.yml'

jobs:
deploy-idporten:
name: Deploy idporten
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DOLLY_DEPLOY_API_KEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/idporten.yml
20 changes: 20 additions & 0 deletions .github/workflows/maskinporten.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy maskinporten

on:
push:
branches:
- master
paths:
- '.nais/maskinporten.yml'

jobs:
deploy-maskinporten:
name: Deploy maskinporten
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DOLLY_DEPLOY_API_KEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/maskinporten.yml
15 changes: 15 additions & 0 deletions .nais/idporten.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: nais.io/v1
kind: IDPortenClient
metadata:
name: dolly
namespace: dolly
spec:
clientURI: https://dolly-idporten.ekstern.dev.nav.no
frontchannelLogoutURI: https://dolly-idporten.ekstern.dev.nav.no/oauth2/logout
postLogoutRedirectURIs:
- https://dolly.ekstern.dev.nav.no/login
- https://dolly-idporten.ekstern.dev.nav.no/login
redirectURIs:
- https://dolly.ekstern.dev.nav.no/login/oauth2/code/idporten
- https://dolly-idporten.ekstern.dev.nav.no/login/oauth2/code/idporten
secretName: idporten-dolly-prod # deployes til prod. secret kopieres manuelt til dev.
10 changes: 10 additions & 0 deletions .nais/maskinporten.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: nais.io/v1
kind: MaskinportenClient
metadata:
name: dolly
namespace: dolly
spec:
scopes:
consumes:
- name: altinn:serviceowner
secretName: maskinporten-dolly-prod # deployes til prod. secret kopieres manuelt til dev.
2 changes: 1 addition & 1 deletion apps/dolly-frontend/config.idporten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
memory: 2048Mi
image: {{image}}
envFrom:
- secret: idporten-dolly-dev-gcp
- secret: idporten-dolly-prod
env:
- name: SPRING_PROFILES_ACTIVE
value: idporten
2 changes: 1 addition & 1 deletion apps/dolly-frontend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
memory: 2048Mi
image: {{image}}
envFrom:
- secret: idporten-dolly-dev-gcp
- secret: idporten-dolly-prod
env:
- name: SPRING_PROFILES_ACTIVE
value: prod
Loading

0 comments on commit f360759

Please sign in to comment.