Skip to content

Commit

Permalink
Preprod-miljø i dev-gcp
Browse files Browse the repository at this point in the history
  • Loading branch information
almyy committed Nov 21, 2024
1 parent cc0a187 commit a88df1e
Show file tree
Hide file tree
Showing 24 changed files with 65 additions and 1,226 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: choice
options:
- 'mock'
- 'dev'
- 'preprod'
- 'dev-fss'

jobs:
Expand Down
41 changes: 12 additions & 29 deletions nais/dev/dev.yaml → nais/dev/preprod.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: sosialhjelp-innsyn-api-dev
name: sosialhjelp-innsyn-api
namespace: teamdigisos
labels:
team: teamdigisos
Expand Down Expand Up @@ -33,20 +33,6 @@ spec:
scopes:
consumes:
- name: "ks:fiks"
idporten:
enabled: false # endre for å ta i bruk idporten-client
accessTokenLifetime: 3600 #default
clientURI: https://www.nav.no #default
frontchannelLogoutPath: /oauth2/logout
integrationType: api_klient
postLogoutRedirectURIs:
- https://www.nav.no #default
redirectPath: /oauth2/callback #default
scopes:
- openid
- profile
- ks:fiks
sessionLifetime: 7200 #default
accessPolicy:
outbound:
external:
Expand All @@ -55,33 +41,36 @@ spec:
- host: minside.fiks.test.ks.no
- host: pdl-api.dev-fss-pub.nais.io
- host: norg2.dev-fss-pub.nais.io
- host: sosialhjelp-soknad-api.dev-fss-pub.nais.io
- host: oidc-ver2.difi.no
- host: unleash.nais.io
- host: digisos.intern.dev.nav.no
- host: teamdigisos-unleash-api.nav.cloud.nais.io
- host: test.idporten.no
rules:
- application: sosialhjelp-innsyn-api-redis
- application: sosialhjelp-soknad-api-dev
- application: clamav
namespace: clamav
ingresses:
- "https://digisos.intern.dev.nav.no/sosialhjelp/innsyn-api"
inbound:
rules:
- application: sosialhjelp-innsyn
resources:
limits:
cpu: 500m
memory: 2Gi
requests:
cpu: 10m
memory: 512Mi
redis:
- instance: cache
access: readwrite
envFrom:
- secret: redis-password-innsyn-api
- secret: fiks-integrasjon-secret
- secret: fiks-kommune-integrasjon-secret
- secret: sosialhjelp-innsyn-api-unleash-api-token
env:
- name: IDPORTEN_WELL_KNOWN_URL
value: "https://test.idporten.no/.well-known/openid-configuration"
- name: SPRING_PROFILES_ACTIVE
value: "idporten, log-kibana"
value: "log-kibana,preprod"
- name: FIKS_DIGISOS_ENDPOINT_URL
value: "https://api.fiks.test.ks.no"
- name: FIKS_DOKUMENTLAGER_ENDPOINT_URL
Expand All @@ -96,8 +85,6 @@ spec:
value: "10"
- name: DOKUMENT_CACHE_TIME_TO_LIVE_SECONDS
value: "3600"
- name: REDIS_HOST
value: "sosialhjelp-innsyn-api-redis.teamdigisos.svc.cluster.local"
- name: PDL_ENDPOINT_URL
value: "https://pdl-api.dev-fss-pub.nais.io/graphql"
- name: PDL_AUDIENCE
Expand All @@ -112,12 +99,8 @@ spec:
value: "http://clamav.nais-system.svc.nais.local/scan"
- name: VILKAR_DOKKRAV_FAGSYSTEM_VERSJONER
value: "Socio;10.1.16,mock-alt;1.0-MOCKVERSJON"
- name: SOKNAD_API_URL
value: "https://sosialhjelp-soknad-api.dev-fss-pub.nais.io/sosialhjelp/soknad-api"
- name: SOKNAD_API_AUDIENCE
value: "dev-fss:teamdigisos:sosialhjelp-soknad-api"
- name: MASKINPORTEN_WELL_KNOWN_URL
value: "https://ver2.maskinporten.no/.well-known/oauth-authorization-server"
value: "https://test.maskinporten.no/.well-known/oauth-authorization-server"
- name: IDPORTEN_POST_LOGOUT_REDIRECT_URI
value: "https://www.dev.nav.no/no/utlogget"
- name: KLAGE_ENABLED
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit a88df1e

Please sign in to comment.