Skip to content

Commit

Permalink
Update host in infra.
Browse files Browse the repository at this point in the history
  • Loading branch information
valurefugl committed Sep 18, 2024
1 parent 82925e2 commit acaab15
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion apps/services/auth/ids-api/infra/ids-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ export const serviceSetup = (): ServiceBuilder<'services-auth-ids-api'> => {
// Origin for Android prod app
'android:apk-key-hash:EsLTUu5kaY7XPmMl2f7nbq4amu-PNzdYu3FecNf90wU',
]),
SYSLUMENN_HOST: '/k8s/api/SYSLUMENN_HOST', // todo: secret?
SYSLUMENN_HOST: {
dev: 'https://api.syslumenn.is/staging',
staging: 'https://api.syslumenn.is/staging',
prod: 'https://api.syslumenn.is',
},
SYSLUMENN_TIMEOUT: '10000',
})
.secrets({
Expand Down
2 changes: 1 addition & 1 deletion charts/identity-server/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ services-auth-ids-api:
PUBLIC_URL: 'https://identity-server.dev01.devland.is/api'
REDIS_NODES: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
SYSLUMENN_HOST: '/k8s/api/SYSLUMENN_HOST'
SYSLUMENN_HOST: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '10000'
USER_PROFILE_CLIENT_SCOPE: '["@island.is/user-profile:read"]'
USER_PROFILE_CLIENT_URL: 'http://web-service-portal-api.service-portal.svc.cluster.local'
Expand Down
2 changes: 1 addition & 1 deletion charts/identity-server/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ services-auth-ids-api:
PUBLIC_URL: 'https://innskra.island.is/api'
REDIS_NODES: '["clustercfg.general-redis-cluster-group.dnugi2.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: 'driving-license-use-v1-endpoint-for-v2-comms'
SYSLUMENN_HOST: '/k8s/api/SYSLUMENN_HOST'
SYSLUMENN_HOST: 'https://api.syslumenn.is'
SYSLUMENN_TIMEOUT: '10000'
USER_PROFILE_CLIENT_SCOPE: '["@island.is/user-profile:read"]'
USER_PROFILE_CLIENT_URL: 'https://service-portal-api.internal.island.is'
Expand Down
2 changes: 1 addition & 1 deletion charts/identity-server/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ services-auth-ids-api:
PUBLIC_URL: 'https://identity-server.staging01.devland.is/api'
REDIS_NODES: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
SYSLUMENN_HOST: '/k8s/api/SYSLUMENN_HOST'
SYSLUMENN_HOST: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '10000'
USER_PROFILE_CLIENT_SCOPE: '["@island.is/user-profile:read"]'
USER_PROFILE_CLIENT_URL: 'http://web-service-portal-api.service-portal.svc.cluster.local'
Expand Down

0 comments on commit acaab15

Please sign in to comment.