Skip to content

Commit

Permalink
revert: "revert: "fix: added missing grant to auth ids api for user n…
Browse files Browse the repository at this point in the history
…otification (#16680)" (#16693)" (#16695)

This reverts commit 82fde90.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
AndesKrrrrrrrrrrr and kodiakhq[bot] authored Nov 1, 2024
1 parent 25dc082 commit 63a12a7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 18 deletions.
1 change: 1 addition & 0 deletions apps/services/auth/ids-api/infra/ids-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export const serviceSetup = (): ServiceBuilder<'services-auth-ids-api'> => {
min: 2,
max: 15,
})
.grantNamespaces('user-notification')
}

const cleanupId = 'services-auth-ids-api-cleanup'
Expand Down
15 changes: 9 additions & 6 deletions charts/identity-server/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ identity-server:
SessionsApiSettings__BaseAddress: 'http://web-services-sessions.services-sessions.svc.cluster.local'
files:
- 'ids-signing.pfx'
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down Expand Up @@ -431,8 +432,9 @@ services-auth-ids-api:
XROAD_TJODSKRA_MEMBER_CODE: '10001'
XROAD_TLS_BASE_PATH: 'https://securityserver.dev01.devland.is'
XROAD_TLS_BASE_PATH_WITH_ENV: 'https://securityserver.dev01.devland.is/r1/IS-DEV'
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down Expand Up @@ -533,8 +535,9 @@ services-auth-ids-api-cleanup:
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down
15 changes: 9 additions & 6 deletions charts/identity-server/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ identity-server:
SessionsApiSettings__BaseAddress: 'https://sessions-api.internal.island.is'
files:
- 'ids-signing.pfx'
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down Expand Up @@ -428,8 +429,9 @@ services-auth-ids-api:
XROAD_TJODSKRA_MEMBER_CODE: '6503760649'
XROAD_TLS_BASE_PATH: 'https://securityserver.island.is'
XROAD_TLS_BASE_PATH_WITH_ENV: 'https://securityserver.island.is/r1/IS'
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down Expand Up @@ -530,8 +532,9 @@ services-auth-ids-api-cleanup:
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: 'driving-license-use-v1-endpoint-for-v2-comms'
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down
15 changes: 9 additions & 6 deletions charts/identity-server/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ identity-server:
SessionsApiSettings__BaseAddress: 'http://web-services-sessions.services-sessions.svc.cluster.local'
files:
- 'ids-signing.pfx'
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down Expand Up @@ -431,8 +432,9 @@ services-auth-ids-api:
XROAD_TJODSKRA_MEMBER_CODE: '6503760649'
XROAD_TLS_BASE_PATH: 'https://securityserver.staging01.devland.is'
XROAD_TLS_BASE_PATH_WITH_ENV: 'https://securityserver.staging01.devland.is/r1/IS-TEST'
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down Expand Up @@ -533,8 +535,9 @@ services-auth-ids-api-cleanup:
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces: []
grantNamespacesEnabled: false
grantNamespaces:
- 'user-notification'
grantNamespacesEnabled: true
healthCheck:
liveness:
initialDelaySeconds: 3
Expand Down

0 comments on commit 63a12a7

Please sign in to comment.