Skip to content

Commit

Permalink
fix(ids-api): Add env var to worker to avoid error. (#14747)
Browse files Browse the repository at this point in the history
* Add env var to worker to avoid error.

* chore: charts update dirty files

---------

Co-authored-by: andes-it <builders@andes.is>
  • Loading branch information
2 people authored and Ballioli committed May 17, 2024
1 parent 56950a1 commit aa6292b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/services/auth/ids-api/infra/ids-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@ export const cleanupSetup = (): ServiceBuilder<typeof cleanupId> =>
},
})
.db({ name: 'servicesauth', extensions: ['uuid-ossp'] })
.env({
IDENTITY_SERVER_ISSUER_URL: {
dev: 'https://identity-server.dev01.devland.is',
staging: 'https://identity-server.staging01.devland.is',
prod: 'https://innskra.island.is',
},
})
.extraAttributes({
dev: schedule,
staging: schedule,
Expand Down
1 change: 1 addition & 0 deletions charts/identity-server/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ services-auth-ids-api-cleanup:
DB_NAME: 'servicesauth'
DB_REPLICAS_HOST: 'postgres-applications-reader.internal'
DB_USER: 'servicesauth'
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.dev01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460'
SERVERSIDE_FEATURES_ON: ''
Expand Down
1 change: 1 addition & 0 deletions charts/identity-server/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ services-auth-ids-api-cleanup:
DB_NAME: 'servicesauth'
DB_REPLICAS_HOST: 'postgres-ids.internal'
DB_USER: 'servicesauth'
IDENTITY_SERVER_ISSUER_URL: 'https://innskra.island.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460'
SERVERSIDE_FEATURES_ON: 'driving-license-use-v1-endpoint-for-v2-comms'
Expand Down
1 change: 1 addition & 0 deletions charts/identity-server/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ services-auth-ids-api-cleanup:
DB_NAME: 'servicesauth'
DB_REPLICAS_HOST: 'postgres-applications.internal'
DB_USER: 'servicesauth'
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.staging01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460'
SERVERSIDE_FEATURES_ON: ''
Expand Down

0 comments on commit aa6292b

Please sign in to comment.