Skip to content

Commit

Permalink
Update infra.
Browse files Browse the repository at this point in the history
  • Loading branch information
valurefugl committed Sep 18, 2024
1 parent 0f22964 commit 82925e2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/services/auth/ids-api/infra/ids-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ 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_TIMEOUT: '10000',
})
.secrets({
IDENTITY_SERVER_CLIENT_SECRET:
Expand All @@ -92,6 +94,8 @@ export const serviceSetup = (): ServiceBuilder<'services-auth-ids-api'> => {
NOVA_PASSWORD: '/k8s/services-auth/NOVA_PASSWORD',
NATIONAL_REGISTRY_B2C_CLIENT_SECRET:
'/k8s/services-auth/NATIONAL_REGISTRY_B2C_CLIENT_SECRET',
SYSLUMENN_USERNAME: '/k8s/services-auth/SYSLUMENN_USERNAME',
SYSLUMENN_PASSWORD: '/k8s/services-auth/SYSLUMENN_PASSWORD',
})
.xroad(Base, Client, RskProcuring, NationalRegistryAuthB2C)
.readiness('/health/check')
Expand Down
4 changes: 4 additions & 0 deletions charts/identity-server/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ 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_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'
XROAD_BASE_PATH: 'http://securityserver.dev01.devland.is'
Expand Down Expand Up @@ -498,6 +500,8 @@ services-auth-ids-api:
NOVA_PASSWORD: '/k8s/services-auth/NOVA_PASSWORD'
NOVA_URL: '/k8s/services-auth/NOVA_URL'
NOVA_USERNAME: '/k8s/services-auth/NOVA_USERNAME'
SYSLUMENN_PASSWORD: '/k8s/services-auth/SYSLUMENN_PASSWORD'
SYSLUMENN_USERNAME: '/k8s/services-auth/SYSLUMENN_USERNAME'
securityContext:
allowPrivilegeEscalation: false
privileged: false
Expand Down
4 changes: 4 additions & 0 deletions charts/identity-server/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ 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_TIMEOUT: '10000'
USER_PROFILE_CLIENT_SCOPE: '["@island.is/user-profile:read"]'
USER_PROFILE_CLIENT_URL: 'https://service-portal-api.internal.island.is'
XROAD_BASE_PATH: 'http://securityserver.island.is'
Expand Down Expand Up @@ -495,6 +497,8 @@ services-auth-ids-api:
NOVA_PASSWORD: '/k8s/services-auth/NOVA_PASSWORD'
NOVA_URL: '/k8s/services-auth/NOVA_URL'
NOVA_USERNAME: '/k8s/services-auth/NOVA_USERNAME'
SYSLUMENN_PASSWORD: '/k8s/services-auth/SYSLUMENN_PASSWORD'
SYSLUMENN_USERNAME: '/k8s/services-auth/SYSLUMENN_USERNAME'
securityContext:
allowPrivilegeEscalation: false
privileged: false
Expand Down
4 changes: 4 additions & 0 deletions charts/identity-server/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ 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_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'
XROAD_BASE_PATH: 'http://securityserver.staging01.devland.is'
Expand Down Expand Up @@ -498,6 +500,8 @@ services-auth-ids-api:
NOVA_PASSWORD: '/k8s/services-auth/NOVA_PASSWORD'
NOVA_URL: '/k8s/services-auth/NOVA_URL'
NOVA_USERNAME: '/k8s/services-auth/NOVA_USERNAME'
SYSLUMENN_PASSWORD: '/k8s/services-auth/SYSLUMENN_PASSWORD'
SYSLUMENN_USERNAME: '/k8s/services-auth/SYSLUMENN_USERNAME'
securityContext:
allowPrivilegeEscalation: false
privileged: false
Expand Down

0 comments on commit 82925e2

Please sign in to comment.