Skip to content

Commit

Permalink
Merge pull request #28 from WorldHealthOrganization/feature/h2-as-db
Browse files Browse the repository at this point in the history
feat: deployment with did config and h2 as default db
  • Loading branch information
tence authored May 29, 2024
2 parents ebcf280 + 7ce0e68 commit 33ad8bd
Show file tree
Hide file tree
Showing 6 changed files with 200 additions and 163 deletions.
56 changes: 27 additions & 29 deletions k8s/helm/tngkds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,31 @@ The versions from umbrella chart are currently not used, please refer to to corr

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| tngkds-backend.gateway.connector.enabled | bool | `true` | flag whether the kds is connected to the TNG |
| tngkds-backend.gateway.connector.endpoint | string | `"<tng-gateway-endpoint>"` | The url where the TNG can be reached |
| tngkds-backend.gateway.connector.max-cache-age | int | `300` | |
| tngkds-backend.gateway.connector.proxy.enabled | bool | `false` | used for development, when KDS is run behind a proxy. If set to true, _tngkds-backend.gateway.connector.proxy.port_ and _tngkds-backend.gateway.connector.proxy.host_ also need to be applied |
| tngkds-backend.gateway.connector.tls_key_store.alias | string | `"clientcredentials"` | |
| tngkds-backend.gateway.connector.tls_key_store.password | string | `"<password of tls_key_store>"` | |
| tngkds-backend.gateway.connector.tls_key_store.path | string | `"/certs/tls_key_store.p12"` | |
| tngkds-backend.gateway.connector.tls_trust_store.alias | string | `"tng-tls-server-certificate"` | |
| tngkds-backend.gateway.connector.tls_trust_store.password | string | `"<password of tls_truststore>"` | |
| tngkds-backend.gateway.connector.tls_trust_store.path | string | `"/certs/tng_tls_server_truststore.p12"` | |
| tngkds-backend.gateway.connector.trust_anchor.alias | string | `"trustanchor"` | |
| tngkds-backend.gateway.connector.trust_anchor.password | string | `"<password of trustanchor_store>"` | |
| tngkds-backend.gateway.connector.trust_anchor.path | string | `"/certs/trustanchor_store.jks"` | |
| tngkds-backend.image.tag | string | `"<kds-image-tag>"` | |
| tngkds-backend.liquibaseImage.tag | string | `"<liquibase-image-tag(initcontainer)>"` | |
| tngkds-backend.path | string | `"/()(*)"` | |
| tngkds-backend.port | int | `8080` | |
| tngkds-backend.psql.asPod.enabled | bool | `false` | |
| tngkds-backend.psql.cluster | string | `"svc.cluster.local"` | |
| tngkds-backend.psql.dbName | string | `"kdsdb"` | |
| tngkds-backend.psql.password | string | `nil` | |
| tngkds-backend.psql.port | int | `5432` | |
| tngkds-backend.psql.serviceName | string | `"postgresql-d01.postgres.database.azure.com"` | |
| tngkds-backend.psql.username | string | `nil` | |
| tngkds-postgres.asPod.enabled | bool | `false` | |
| tngkds-postgres.path | string | `"/()(*)"` | |
| tngkds-postgres.port | int | `5432` | |
| Key | Type | Default | Description |
|-----------------------------------------------------------|--------|-------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| tngkds-backend.gateway.connector.enabled | bool | `true` | flag whether the kds is connected to the TNG |
| tngkds-backend.gateway.connector.endpoint | string | `"<tng-gateway-endpoint>"` | The url where the TNG can be reached |
| tngkds-backend.gateway.connector.max-cache-age | int | `300` | |
| tngkds-backend.gateway.connector.proxy.enabled | bool | `false` | used for development, when KDS is run behind a proxy. If set to true, _tngkds-backend.gateway.connector.proxy.port_ and _tngkds-backend.gateway.connector.proxy.host_ also need to be applied |
| tngkds-backend.gateway.connector.tls_key_store.alias | string | `"clientcredentials"` | |
| tngkds-backend.gateway.connector.tls_key_store.password | string | `"<password of tls_key_store>"` | |
| tngkds-backend.gateway.connector.tls_key_store.path | string | `"/certs/tls_key_store.p12"` | |
| tngkds-backend.gateway.connector.tls_trust_store.alias | string | `"tng-tls-server-certificate"` | |
| tngkds-backend.gateway.connector.tls_trust_store.password | string | `"<password of tls_truststore>"` | |
| tngkds-backend.gateway.connector.tls_trust_store.path | string | `"/certs/tng_tls_server_truststore.p12"` | |
| tngkds-backend.gateway.connector.trust_anchor.alias | string | `"trustanchor"` | |
| tngkds-backend.gateway.connector.trust_anchor.password | string | `"<password of trustanchor_store>"` | |
| tngkds-backend.gateway.connector.trust_anchor.path | string | `"/certs/trustanchor_store.jks"` | |
| tngkds-backend.image.tag | string | `"<kds-image-tag>"` | |
| tngkds-backend.liquibaseImage.tag | string | `"<liquibase-image-tag(initcontainer)>"` | |
| tngkds-backend.path | string | `"/()(*)"` | |
| tngkds-backend.port | int | `8080` | |
| tngkds-backend.db.driverclass | String | `org.h2.Driver` | The JDBC driver class |
| tngkds-backend.db.plattform | String | `org.hibernate.dialect.H2Dialect` | The Hibernate dialect |
| tngkds-backend.db.url | String | `jdbc:h2:mem:dgc;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1;` | The JDBC URL for the database connection |
| tngkds-backend.db.username | String | `sa` | The username for the database connection |
| tngkds-backend.db.password | String | `''` | The password for the database connection |
| tngkds-postgres.asPod.enabled | bool | `false` | |
| tngkds-postgres.path | string | `"/()(*)"` | |
| tngkds-postgres.port | int | `5432` | |

Loading

0 comments on commit 33ad8bd

Please sign in to comment.