Skip to content

Commit

Permalink
Fjern loginservice fra dev, behold prod enn så lenge
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbb committed Sep 1, 2023
1 parent 607a91d commit 7412bb6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
1 change: 0 additions & 1 deletion nais/dev-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ spec:
- name: ALTINN_URL
value: "https://tt02.altinn.no"
envFrom:
- configmap: loginservice-idporten
- secret: altinn-rettigheter-proxy-redis-password
- secret: altinn-rettigheter-proxy
accessPolicy:
Expand Down
12 changes: 0 additions & 12 deletions nais/prod-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ spec:
inbound:
rules:

- application: klage-permittering-refusjon-api
namespace: teamloennskomp
cluster: prod-fss

- application: permittering-refusjon-api
namespace: teamloennskomp
cluster: prod-fss

- application: sykefravarsstatistikk-api
namespace: arbeidsgiver
cluster: prod-fss
Expand All @@ -65,10 +57,6 @@ spec:
- application: permitteringsskjema-api
namespace: permittering-og-nedbemanning

- application: innsyn-aareg-api
namespace: fager
cluster: prod-fss

- application: aareg-innsyn-arbeidsgiver-api
namespace: arbeidsforhold
cluster: prod-fss
Expand Down
15 changes: 12 additions & 3 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,19 @@ management:

no.nav.security.jwt:
issuer:
loginservice:
discoveryurl: ${LOGINSERVICE_IDPORTEN_DISCOVERY_URL}
accepted_audience: ${LOGINSERVICE_IDPORTEN_AUDIENCE}
tokenx:
discoveryurl: ${TOKEN_X_WELL_KNOWN_URL}
accepted_audience: ${TOKEN_X_CLIENT_ID}


---
spring:
config:
activate:
on-profile: prod

no.nav.security.jwt:
issuer:
loginservice:
discoveryurl: ${LOGINSERVICE_IDPORTEN_DISCOVERY_URL}
accepted_audience: ${LOGINSERVICE_IDPORTEN_AUDIENCE}

0 comments on commit 7412bb6

Please sign in to comment.