From f1757861ff2d204e0f3e98035f4fdc10c247c2cb Mon Sep 17 00:00:00 2001 From: Peter Motzko Date: Thu, 1 Jun 2023 23:37:57 +0200 Subject: [PATCH] feat(helm): add container env and DB secrets --- charts/managed-identity-wallet/values.yaml | 49 ++++++++++++++-------- 1 file changed, 32 insertions(+), 17 deletions(-) diff --git a/charts/managed-identity-wallet/values.yaml b/charts/managed-identity-wallet/values.yaml index d5bbe2795..cf439d339 100644 --- a/charts/managed-identity-wallet/values.yaml +++ b/charts/managed-identity-wallet/values.yaml @@ -1,25 +1,40 @@ replicaCount: 1 image: - repository: nginx + repository: ghcr.io/catenax-ng/tx-managed-identity-wallets_miw_service pullPolicy: Always tag: "" -imagePullSecrets: [] +imagePullSecrets: + - name: acr-credential + nameOverride: "" fullnameOverride: "" -secret: - # -- Database connection string to the Postgres database of MIW. Used when postgresql.useDefaultJdbcUrl is false - jdbcurl: "jdbc:postgresql://:/?user=&password=" - # -- It can be extracted from Keycloak - authclientid: "clientid" - # -- It can be extracted from Keycloak - authclientsecret: "client" - # -- client id for accessing the BPDM data pool endpoint - bpdmauthclientid: "clientid" - # -- client secret for accessing the BPDM data pool endpoint - bpdmauthclientsecret: "client" +secrets: + DB_USER_NAME: xxx # Has to be the same as below in "postgresql" section + DB_PASSWORD: xxx # Has to be the same as below in "postgresql" section + KEYCLOAK_CLIENT_ID: xxx + ENCRYPTION_KEY: xxx + +envs: + APPLICATION_PORT: xxx + APPLICATION_ENVIRONMENT: xxx + DB_HOST: xxx + DB_PORT: xxx + DB_NAME: xxx + USE_SSL: xxx + DB_POOL_SIZE: xxx + KEYCLOAK_MIW_PUBLIC_CLIENT: xxx + MANAGEMENT_PORT: xxx + MIW_HOST_NAME: xxx + AUTHORITY_WALLET_BPN: xxx + AUTHORITY_WALLET_NAME: xxx + AUTHORITY_WALLET_DID: xxx + VC_SCHEMA_LINK: xxx + VC_EXPIRY_DATE: xxx + KEYCLOAK_REALM: xxx + AUTH_SERVER_URL: xxx serviceAccount: create: true @@ -84,7 +99,7 @@ affinity: {} podAnnotations: {} postgresql: - secret: - password: "postgres" - postgrespassword: "postgres" - user: "postgres" \ No newline at end of file + auth: + password: postgres + username: postgres + postgresPassword: postgres \ No newline at end of file