Skip to content

Commit

Permalink
fix(services-bff): Fix ingress for portals (#17099)
Browse files Browse the repository at this point in the history
* Fix ingress for portals

* chore: charts update dirty files

---------

Co-authored-by: snaerseljan <[email protected]>
Co-authored-by: andes-it <[email protected]>
  • Loading branch information
3 people authored Dec 2, 2024
1 parent 71774d0 commit af0d7f9
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/api/infra/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,5 +477,6 @@ export const serviceSetup = (services: {
'application-system',
'consultation-portal',
'portals-admin',
'service-portal',
)
}
2 changes: 1 addition & 1 deletion apps/services/bff/infra/admin-portal.infra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ export const serviceSetup = (
paths: [`/${key}/bff`],
},
})
.grantNamespaces('identity-server')
.grantNamespaces('nginx-ingress-external', 'identity-server')
2 changes: 1 addition & 1 deletion apps/services/bff/infra/my-pages-portal.infra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ export const serviceSetup = (
paths: ['/bff'],
},
})
.grantNamespaces('identity-server')
.grantNamespaces('nginx-ingress-external', 'identity-server')
3 changes: 3 additions & 0 deletions charts/islandis/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ api:
- 'application-system'
- 'consultation-portal'
- 'portals-admin'
- 'service-portal'
grantNamespacesEnabled: true
healthCheck:
liveness:
Expand Down Expand Up @@ -2312,6 +2313,7 @@ services-bff-portals-admin:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down Expand Up @@ -2397,6 +2399,7 @@ services-bff-portals-my-pages:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down
3 changes: 3 additions & 0 deletions charts/islandis/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ api:
- 'application-system'
- 'consultation-portal'
- 'portals-admin'
- 'service-portal'
grantNamespacesEnabled: true
healthCheck:
liveness:
Expand Down Expand Up @@ -2181,6 +2182,7 @@ services-bff-portals-admin:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.whakos.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: 'driving-license-use-v1-endpoint-for-v2-comms'
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down Expand Up @@ -2268,6 +2270,7 @@ services-bff-portals-my-pages:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.whakos.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: 'driving-license-use-v1-endpoint-for-v2-comms'
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down
3 changes: 3 additions & 0 deletions charts/islandis/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ api:
- 'application-system'
- 'consultation-portal'
- 'portals-admin'
- 'service-portal'
grantNamespacesEnabled: true
healthCheck:
liveness:
Expand Down Expand Up @@ -2050,6 +2051,7 @@ services-bff-portals-admin:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down Expand Up @@ -2135,6 +2137,7 @@ services-bff-portals-my-pages:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down
1 change: 1 addition & 0 deletions charts/services/api/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ grantNamespaces:
- 'application-system'
- 'consultation-portal'
- 'portals-admin'
- 'service-portal'
grantNamespacesEnabled: true
healthCheck:
liveness:
Expand Down
1 change: 1 addition & 0 deletions charts/services/api/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ grantNamespaces:
- 'application-system'
- 'consultation-portal'
- 'portals-admin'
- 'service-portal'
grantNamespacesEnabled: true
healthCheck:
liveness:
Expand Down
1 change: 1 addition & 0 deletions charts/services/api/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ grantNamespaces:
- 'application-system'
- 'consultation-portal'
- 'portals-admin'
- 'service-portal'
grantNamespacesEnabled: true
healthCheck:
liveness:
Expand Down
1 change: 1 addition & 0 deletions charts/services/services-bff-portals-admin/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ env:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ env:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.whakos.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: 'driving-license-use-v1-endpoint-for-v2-comms'
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ env:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ env:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ env:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.whakos.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: 'driving-license-use-v1-endpoint-for-v2-comms'
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ env:
REDIS_URL_NODE_01: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'identity-server'
grantNamespacesEnabled: true
healthCheck:
Expand Down

0 comments on commit af0d7f9

Please sign in to comment.