Skip to content

Commit

Permalink
feat(infra): helm values per service (#16832)
Browse files Browse the repository at this point in the history
* feat(infra): generate helm values per service

* chore(infra): yarn charts

* fix: disable line wrapping

* chore: add header comment

* chore: yarn charts

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
busla and kodiakhq[bot] authored Nov 13, 2024
1 parent 7ac5f5b commit 2401e53
Show file tree
Hide file tree
Showing 165 changed files with 15,550 additions and 164 deletions.
11 changes: 1 addition & 10 deletions charts/identity-server/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Run "yarn charts" instead.
#
#####################################################################

auth-admin-web:
enabled: true
env:
Expand All @@ -13,7 +14,6 @@ auth-admin-web:
NEXTAUTH_URL: 'https://identity-server.dev01.devland.is/admin/api/auth'
NEXT_PUBLIC_BACKEND_URL: '/backend'
NODE_OPTIONS: '--max-old-space-size=230 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'nginx-ingress-internal'
Expand Down Expand Up @@ -119,7 +119,6 @@ identity-server:
PersistenceSettings__DelegationsCacheEnabled: 'false'
RedisSettings__Address: 'clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com'
RedisSettings__Port: '6379'
SERVERSIDE_FEATURES_ON: ''
SessionsApiSettings__BaseAddress: 'http://web-services-sessions.services-sessions.svc.cluster.local'
files:
- 'ids-signing.pfx'
Expand Down Expand Up @@ -227,7 +226,6 @@ services-auth-admin-api:
IDENTITY_SERVER_ISSUER_URL_LIST: '["https://identity-server.dev01.devland.is","https://identity-server.staging01.devland.is","https://innskra.island.is"]'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=691 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
SYSLUMENN_HOST: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
XROAD_BASE_PATH: 'http://securityserver.dev01.devland.is'
Expand Down Expand Up @@ -318,7 +316,6 @@ services-auth-delegation-api:
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.dev01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
SYSLUMENN_HOST: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
USER_NOTIFICATION_API_URL: 'http://web-user-notification.user-notification.svc.cluster.local'
Expand Down Expand Up @@ -422,7 +419,6 @@ services-auth-ids-api:
PASSKEY_CORE_RP_NAME: 'Island.is'
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: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
USER_PROFILE_CLIENT_SCOPE: '["@island.is/user-profile:read"]'
Expand Down Expand Up @@ -495,7 +491,6 @@ services-auth-ids-api:
DB_NAME: 'servicesauth'
DB_REPLICAS_HOST: 'postgres-applications-reader.internal'
DB_USER: 'servicesauth'
SERVERSIDE_FEATURES_ON: ''
secrets:
DB_PASS: '/k8s/servicesauth/DB_PASSWORD'
namespace: 'identity-server'
Expand Down Expand Up @@ -541,7 +536,6 @@ services-auth-ids-api-cleanup:
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.dev01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'user-notification'
Expand Down Expand Up @@ -601,7 +595,6 @@ services-auth-personal-representative:
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.dev01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
SYSLUMENN_HOST: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
XROAD_BASE_PATH: 'http://securityserver.dev01.devland.is'
Expand Down Expand Up @@ -683,7 +676,6 @@ services-auth-personal-representative-public:
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.dev01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces: []
grantNamespacesEnabled: false
healthCheck:
Expand Down Expand Up @@ -754,7 +746,6 @@ services-auth-public-api:
PASSKEY_CORE_RP_NAME: 'Island.is'
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: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
XROAD_BASE_PATH: 'http://securityserver.dev01.devland.is'
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 @@ -4,6 +4,7 @@
# Run "yarn charts" instead.
#
#####################################################################

auth-admin-web:
enabled: true
env:
Expand Down
11 changes: 1 addition & 10 deletions charts/identity-server/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Run "yarn charts" instead.
#
#####################################################################

auth-admin-web:
enabled: true
env:
Expand All @@ -13,7 +14,6 @@ auth-admin-web:
NEXTAUTH_URL: 'https://identity-server.staging01.devland.is/admin/api/auth'
NEXT_PUBLIC_BACKEND_URL: '/backend'
NODE_OPTIONS: '--max-old-space-size=230 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'nginx-ingress-internal'
Expand Down Expand Up @@ -119,7 +119,6 @@ identity-server:
PersistenceSettings__DelegationsCacheEnabled: 'false'
RedisSettings__Address: 'clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com'
RedisSettings__Port: '6379'
SERVERSIDE_FEATURES_ON: ''
SessionsApiSettings__BaseAddress: 'http://web-services-sessions.services-sessions.svc.cluster.local'
files:
- 'ids-signing.pfx'
Expand Down Expand Up @@ -227,7 +226,6 @@ services-auth-admin-api:
IDENTITY_SERVER_ISSUER_URL_LIST: '["https://identity-server.staging01.devland.is","https://innskra.island.is"]'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=691 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
SYSLUMENN_HOST: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
XROAD_BASE_PATH: 'http://securityserver.staging01.devland.is'
Expand Down Expand Up @@ -318,7 +316,6 @@ services-auth-delegation-api:
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.staging01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
SYSLUMENN_HOST: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
USER_NOTIFICATION_API_URL: 'http://web-user-notification.user-notification.svc.cluster.local'
Expand Down Expand Up @@ -422,7 +419,6 @@ services-auth-ids-api:
PASSKEY_CORE_RP_NAME: 'Island.is'
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: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
USER_PROFILE_CLIENT_SCOPE: '["@island.is/user-profile:read"]'
Expand Down Expand Up @@ -495,7 +491,6 @@ services-auth-ids-api:
DB_NAME: 'servicesauth'
DB_REPLICAS_HOST: 'postgres-applications.internal'
DB_USER: 'servicesauth'
SERVERSIDE_FEATURES_ON: ''
secrets:
DB_PASS: '/k8s/servicesauth/DB_PASSWORD'
namespace: 'identity-server'
Expand Down Expand Up @@ -541,7 +536,6 @@ services-auth-ids-api-cleanup:
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.staging01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces:
- 'nginx-ingress-external'
- 'user-notification'
Expand Down Expand Up @@ -601,7 +595,6 @@ services-auth-personal-representative:
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.staging01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
SYSLUMENN_HOST: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
XROAD_BASE_PATH: 'http://securityserver.staging01.devland.is'
Expand Down Expand Up @@ -683,7 +676,6 @@ services-auth-personal-representative-public:
IDENTITY_SERVER_ISSUER_URL: 'https://identity-server.staging01.devland.is'
LOG_LEVEL: 'info'
NODE_OPTIONS: '--max-old-space-size=460 -r dd-trace/init'
SERVERSIDE_FEATURES_ON: ''
grantNamespaces: []
grantNamespacesEnabled: false
healthCheck:
Expand Down Expand Up @@ -754,7 +746,6 @@ services-auth-public-api:
PASSKEY_CORE_RP_NAME: 'Island.is'
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: 'https://api.syslumenn.is/staging'
SYSLUMENN_TIMEOUT: '3000'
XROAD_BASE_PATH: 'http://securityserver.staging01.devland.is'
Expand Down
Loading

0 comments on commit 2401e53

Please sign in to comment.