Skip to content
Snippets Groups Projects
Verified Commit 97d447e2 authored by Martin Weise's avatar Martin Weise
Browse files

Updated helm chart values

parent ad37012a
No related branches found
No related tags found
2 merge requests!345Updated docs and endpoints:,!341Fixed mapping problem where UK and FK share columns they are inserted
...@@ -24,24 +24,10 @@ Library. ...@@ -24,24 +24,10 @@ Library.
## Data ## Data
The procedures require the user-generated databases to have the same collation (because of comparison operations). The procedures requires the in parameter of the `hash_table` stored procedure to have the same collation as the
Ensure that the Data Database has the character set `utf8mb4` and collation `utf8mb4_general_ci` in your `my.cfg`: `information_schema.columns` table. We observed this unexpected behavior for
```ini
[mysqld]
character_set_server=utf8mb4
collation_server=utf8mb4_general_ci
```
We observed this unexpected behavior for
the [MariaDB Galera chart](https://artifacthub.io/packages/helm/bitnami/mariadb-galera) powered by Bitnami and had to the [MariaDB Galera chart](https://artifacthub.io/packages/helm/bitnami/mariadb-galera) powered by Bitnami and had to
set extra flags. We could not observe this behavior with set extra flags.
the [MariaDB Galera container image](https://hub.docker.com/r/bitnami/mariadb-galera) itself.
```yaml
mariadb-galera:
extraFlags: "--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci"
```
### Backup ### Backup
......
...@@ -415,9 +415,9 @@ release-docs: ...@@ -415,9 +415,9 @@ release-docs:
refs: refs:
- /^release-.*/ - /^release-.*/
before_script: before_script:
- "apk add --no-cache alpine-sdk bash sed wget openssh jq curl gcc"
- "pip install pipenv" - "pip install pipenv"
- "pipenv install --dev --system --deploy" - "pipenv install --dev --system --deploy"
- "apk add --no-cache alpine-sdk bash sed wget openssh jq curl gcc"
- "mkdir -p ./final/${DOC_VERSION}/rest" - "mkdir -p ./final/${DOC_VERSION}/rest"
script: script:
- "make gen-lib-doc gen-docs-doc package-config" - "make gen-lib-doc gen-docs-doc package-config"
......
![Java 21](https://img.shields.io/badge/Java-21-white?style=flat) [![CI/CD Status](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/badges/master/pipeline.svg)](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services)
![Python 3.11](https://img.shields.io/badge/Python-3.11-white?style=flat) [![CI/CD Coverage](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/badges/master/coverage.svg)](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services)
![RabbitMQ 3.12](https://img.shields.io/badge/RabbitMQ-3.12-white?style=flat) [![Latest Release](https://img.shields.io/gitlab/v/release/fair-data-austria-db-repository%2Ffda-services?gitlab_url=https%3A%2F%2Fgitlab.phaidra.org&display_name=release&style=flat)](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services)
![MariaDB 11.2](https://img.shields.io/badge/MariaDB-11.2-white?style=flat) [![PyPI Library version](https://img.shields.io/pypi/v/dbrepo)](https://pypi.org/project/dbrepo/)
![OpenSearch 2.10](https://img.shields.io/badge/OpenSearch-2.10-white?style=flat) [![Image Pulls](https://img.shields.io/docker/pulls/dbrepo/data-service?style=flat)](https://hub.docker.com/u/dbrepo)
![SeaweedFS 3.59](https://img.shields.io/badge/SeaweedFS-3.59-white?style=flat) [![Helm Chart version](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/dbrepo)](https://artifacthub.io/packages/helm/dbrepo/dbrepo)
![OpenLDAP 2.6](https://img.shields.io/badge/OpenLDAP-2.6-white?style=flat) [![GitLab License](https://img.shields.io/gitlab/license/fair-data-austria-db-repository%2Ffda-services?gitlab_url=https%3A%2F%2Fgitlab.phaidra.org%2F&style=flat&cacheSeconds=3600)](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services)
![Spark 3.4](https://img.shields.io/badge/Spark-3.4-white?style=flat)
![Keycloak 24.0](https://img.shields.io/badge/Keycloak-24.0-white?style=flat)
<img src="./dbrepo-ui/public/logo.png" width="200" alt="DBRepo &mdash; Repository for Data in Databases" /> <img src="./dbrepo-ui/public/logo.png" width="200" alt="DBRepo &mdash; Repository for Data in Databases" />
......
...@@ -49,14 +49,14 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -49,14 +49,14 @@ The command removes all the Kubernetes components associated with the chart and
### Global parameters ### Global parameters
| Name | Description | Value | | Name | Description | Value |
|-------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------| | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` | | `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` |
| `global.storageClass` | Global StorageClass for Persistent Volume(s) | `""` | | `global.storageClass` | Global StorageClass for Persistent Volume(s) | `""` |
### Common parameters ### Common parameters
| Name | Description | Value | | Name | Description | Value |
|-----------------|-----------------------|-----------------------| | --------------- | --------------------- | --------------------- |
| `hostname` | The hostname. | `example.com` | | `hostname` | The hostname. | `example.com` |
| `gateway` | The gateway endpoint. | `https://example.com` | | `gateway` | The gateway endpoint. | `https://example.com` |
| `strategyType` | The image pull | `RollingUpdate` | | `strategyType` | The image pull | `RollingUpdate` |
...@@ -65,9 +65,10 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -65,9 +65,10 @@ The command removes all the Kubernetes components associated with the chart and
### Metadata Database ### Metadata Database
| Name | Description | Value | | Name | Description | Value |
|------------------------------------------|------------------------------------------------------------------|---------------| | ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `metadatadb.enabled` | Enable the Metadata Database. | `true` | | `metadatadb.enabled` | Enable the Metadata datadb. | `true` |
| `metadatadb.host` | The hostname for the microservices. | `metadata-db` | | `metadatadb.host` | The hostname for the microservices. | `metadata-db` |
| `metadatadb.extraFlags` | Extra flags to ensure the query store works as intended, ref https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.5/api/data-db/#data | `--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci` |
| `metadatadb.rootUser.user` | The root username. | `root` | | `metadatadb.rootUser.user` | The root username. | `root` |
| `metadatadb.rootUser.password` | The root user password. | `dbrepo` | | `metadatadb.rootUser.password` | The root user password. | `dbrepo` |
| `metadatadb.db.name` | The database name. | `dbrepo` | | `metadatadb.db.name` | The database name. | `dbrepo` |
...@@ -81,7 +82,7 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -81,7 +82,7 @@ The command removes all the Kubernetes components associated with the chart and
### Auth Service ### Auth Service
| Name | Description | Value | | Name | Description | Value |
|----------------------------------|--------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | -------------------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `authservice.enabled` | Enable the Auth Service. | `true` | | `authservice.enabled` | Enable the Auth Service. | `true` |
| `authservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` | | `authservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` |
| `authservice.endpoint` | The hostname for the microservices. | `http://auth-service` | | `authservice.endpoint` | The hostname for the microservices. | `http://auth-service` |
...@@ -94,18 +95,23 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -94,18 +95,23 @@ The command removes all the Kubernetes components associated with the chart and
### Data Database ### Data Database
| Name | Description | Value | | Name | Description | Value |
|-----------------------------------|-------------------------------------------------------------|---------------| | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `datadb.enabled` | Enable the Data Database. | `true` | | `datadb.host` | The hostname for the microservices. | `data-db` |
| `datadb.database.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` | | `datadb.extraFlags` | Extra flags to ensure the query store works as intended, ref https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.5/api/data-db/#data | `--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci` |
| `datadb.auth.rootPassword` | The root user password. | `dbrepo` | | `datadb.rootUser.user` | The root username. | `root` |
| `datadb.auth.replicationUser` | The database replication user password | `replication` | | `datadb.rootUser.password` | The root user password. | `dbrepo` |
| `datadb.auth.replicationPassword` | The database replication user password | `replication` | | `datadb.db.name` | The database name. | `dbrepo` |
| `datadb.galera.mariabackup.user` | The database backup username. | `backup` |
| `datadb.galera.mariabackup.password` | The database backup user password | `backup` |
| `datadb.jdbcExtraArgs` | The extra arguments for JDBC connections in the microservices. | `""` |
| `datadb.replicaCount` | The number of cluster nodes, should be uneven i.e. 2n+1 | `3` |
| `datadb.persistence.enabled` | Enable persistent storage. | `true` |
### Search Database ### Search Database
| Name | Description | Value | | Name | Description | Value |
|------------------------|-------------------------------------|-------------| | ---------------------- | ----------------------------------- | ----------- |
| `searchdb.enabled` | Enable the Data Database. | `true` | | `searchdb.enabled` | Enable the Data datadb. | `true` |
| `searchdb.host` | The hostname for the microservices. | `search-db` | | `searchdb.host` | The hostname for the microservices. | `search-db` |
| `searchdb.port` | The port for the microservices. | `9200` | | `searchdb.port` | The port for the microservices. | `9200` |
| `searchdb.clusterName` | The cluster name. | `search-db` | | `searchdb.clusterName` | The cluster name. | `search-db` |
...@@ -113,14 +119,14 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -113,14 +119,14 @@ The command removes all the Kubernetes components associated with the chart and
### Upload Service ### Upload Service
| Name | Description | Value | | Name | Description | Value |
|------------------------------|----------------------------|--------| | ---------------------------- | -------------------------- | ------ |
| `uploadservice.enabled` | Enable the Upload Service. | `true` | | `uploadservice.enabled` | Enable the Upload Service. | `true` |
| `uploadservice.replicaCount` | The number of replicas. | `2` | | `uploadservice.replicaCount` | The number of replicas. | `2` |
### Broker Service ### Broker Service
| Name | Description | Value | | Name | Description | Value |
|-------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------| | ----------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `brokerservice.enabled` | Enable the Broker Service. | `true` | | `brokerservice.enabled` | Enable the Broker Service. | `true` |
| `brokerservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `true` | | `brokerservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `true` |
| `brokerservice.endpoint` | The management api endpoint for the microservices. | `http://broker-service:15672` | | `brokerservice.endpoint` | The management api endpoint for the microservices. | `http://broker-service:15672` |
...@@ -136,14 +142,14 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -136,14 +142,14 @@ The command removes all the Kubernetes components associated with the chart and
| `brokerservice.ldap.uidField` | The field containing the user id. | `uid` | | `brokerservice.ldap.uidField` | The field containing the user id. | `uid` |
| `brokerservice.ldap.basedn` | The base domain name containing the users. | `dc=dbrepo,dc=at` | | `brokerservice.ldap.basedn` | The base domain name containing the users. | `dc=dbrepo,dc=at` |
| `brokerservice.ldap.userDnPattern` | The pattern to determine the user. | `${username}` | | `brokerservice.ldap.userDnPattern` | The pattern to determine the user. | `${username}` |
| `brokerservice.extraPlugins` | The list of plugins to be activated. | `rabbitmq_prometheus rabbitmq_auth_backend_ldap rabbitmq_auth_mechanism_ssl` | | `brokerservice.extraPlugins` | The list of plugins to be activated. | `rabbitmq_prometheus rabbitmq_auth_backend_ldap rabbitmq_auth_mechanism_ssl rabbitmq_mqtt` |
| `brokerservice.persistence.enabled` | If set to true, a PVC will be created. | `false` | | `brokerservice.persistence.enabled` | If set to true, a PVC will be created. | `false` |
| `brokerservice.replicaCount` | The number of replicas. | `1` | | `brokerservice.replicaCount` | The number of replicas. | `1` |
### Analyse Service ### Analyse Service
| Name | Description | Value | | Name | Description | Value |
|--------------------------------------------------------------------|-------------------------------------------------------------|----------------------------------| | ------------------------------------------------------------------ | ----------------------------------------------------------- | ------------------------- |
| `analyseservice.enabled` | Enable the Broker Service. | `true` | | `analyseservice.enabled` | Enable the Broker Service. | `true` |
| `analyseservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` | | `analyseservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` |
| `analyseservice.podSecurityContext.enabled` | Enable pods' Security Context | `true` | | `analyseservice.podSecurityContext.enabled` | Enable pods' Security Context | `true` |
...@@ -161,13 +167,14 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -161,13 +167,14 @@ The command removes all the Kubernetes components associated with the chart and
| `analyseservice.containerSecurityContext.capabilities.drop` | Set container's Security Context runAsNonRoot | `["ALL"]` | | `analyseservice.containerSecurityContext.capabilities.drop` | Set container's Security Context runAsNonRoot | `["ALL"]` |
| `analyseservice.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` | | `analyseservice.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `analyseservice.endpoint` | The url of the endpoint. | `http://analyse-service` | | `analyseservice.endpoint` | The url of the endpoint. | `http://analyse-service` |
| `analyseservice.s3.endpoint` | The S3-capable endpoint the microservice connects to. | `http://storage-service-s3:8333` | | `analyseservice.s3.proto` | The protocol of the storage service endpoint. | `http` |
| `analyseservice.s3.endpoint` | The hostname and port of the storage service endpoint. | `storage-service-s3:8333` |
| `analyseservice.replicaCount` | The number of replicas. | `2` | | `analyseservice.replicaCount` | The number of replicas. | `2` |
### Metadata Service ### Metadata Service
| Name | Description | Value | | Name | Description | Value |
|---------------------------------------------------------------------|------------------------------------------------------------------------------------|----------------------------------| | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -------------------------------- |
| `metadataservice.enabled` | Enable the Broker Service. | `true` | | `metadataservice.enabled` | Enable the Broker Service. | `true` |
| `metadataservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` | | `metadataservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` |
| `metadataservice.podSecurityContext.enabled` | Enable pods' Security Context | `true` | | `metadataservice.podSecurityContext.enabled` | Enable pods' Security Context | `true` |
...@@ -205,7 +212,7 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -205,7 +212,7 @@ The command removes all the Kubernetes components associated with the chart and
### Data Service ### Data Service
| Name | Description | Value | | Name | Description | Value |
|-----------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------| | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------- |
| `dataservice.enabled` | Enable the Broker Service. | `true` | | `dataservice.enabled` | Enable the Broker Service. | `true` |
| `dataservice.endpoint` | Absolute URL to the data service in the form of http://host:port | `http://data-service` | | `dataservice.endpoint` | Absolute URL to the data service in the form of http://host:port | `http://data-service` |
| `dataservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` | | `dataservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` |
...@@ -225,9 +232,6 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -225,9 +232,6 @@ The command removes all the Kubernetes components associated with the chart and
| `dataservice.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` | | `dataservice.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `dataservice.grant.read` | The default database permissions for users with read access. | `SELECT` | | `dataservice.grant.read` | The default database permissions for users with read access. | `SELECT` |
| `dataservice.grant.write` | The default database permissions for users with write access. | `SELECT, CREATE, CREATE VIEW, CREATE ROUTINE, CREATE TEMPORARY TABLES, LOCK TABLES, INDEX, TRIGGER, INSERT, UPDATE, DELETE` | | `dataservice.grant.write` | The default database permissions for users with write access. | `SELECT, CREATE, CREATE VIEW, CREATE ROUTINE, CREATE TEMPORARY TABLES, LOCK TABLES, INDEX, TRIGGER, INSERT, UPDATE, DELETE` |
| `dataservice.default.date` | The default date format id for dates. Default: YYYY-MM-dd (e.g. 2024-06-15). | `3` |
| `dataservice.default.time` | The default date format id for times. Default: HH:mm:ss (e.g. 14:23:42). | `4` |
| `dataservice.default.timestamp` | The default date format id for timestamps. Default: YYYY-MM-dd HH:mm:ss (e.g. 2024-06-15 14:23:42). | `1` |
| `dataservice.rabbitmq.consumerConcurrentMin` | The minimal number of RabbitMQ consumers. | `2` | | `dataservice.rabbitmq.consumerConcurrentMin` | The minimal number of RabbitMQ consumers. | `2` |
| `dataservice.rabbitmq.consumerConcurrentMax` | The maximal number of RabbitMQ consumers. | `6` | | `dataservice.rabbitmq.consumerConcurrentMax` | The maximal number of RabbitMQ consumers. | `6` |
| `dataservice.rabbitmq.requeueRejected` | If set to true, rejected tuples will be re-queued. | `false` | | `dataservice.rabbitmq.requeueRejected` | If set to true, rejected tuples will be re-queued. | `false` |
...@@ -243,7 +247,7 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -243,7 +247,7 @@ The command removes all the Kubernetes components associated with the chart and
### Search Service ### Search Service
| Name | Description | Value | | Name | Description | Value |
|-------------------------------------------------------------------|--------------------------------------------------------------------|-------------------------| | ----------------------------------------------------------------- | ------------------------------------------------------------------ | ----------------------- |
| `searchservice.enabled` | Enable the Broker Service. | `true` | | `searchservice.enabled` | Enable the Broker Service. | `true` |
| `searchservice.endpoint` | Absolute URL to the search service in the form of http://host:port | `http://search-service` | | `searchservice.endpoint` | Absolute URL to the search service in the form of http://host:port | `http://search-service` |
| `searchservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` | | `searchservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` |
...@@ -266,7 +270,7 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -266,7 +270,7 @@ The command removes all the Kubernetes components associated with the chart and
### Storage Service ### Storage Service
| Name | Description | Value | | Name | Description | Value |
|-----------------------------------------------|----------------------------------------------------------------------------------------|------------------| | --------------------------------------------- | -------------------------------------------------------------------------------------- | ---------------- |
| `storageservice.enabled` | Enable the Storage Service. | `true` | | `storageservice.enabled` | Enable the Storage Service. | `true` |
| `storageservice.mariadb.auth.rootPassword` | The user password for the root user. | `seaweedfsdb` | | `storageservice.mariadb.auth.rootPassword` | The user password for the root user. | `seaweedfsdb` |
| `storageservice.filer.enabled` | Enable the storage service filer which is required for S3. | `true` | | `storageservice.filer.enabled` | Enable the storage service filer which is required for S3. | `true` |
...@@ -279,7 +283,7 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -279,7 +283,7 @@ The command removes all the Kubernetes components associated with the chart and
### Identity Service ### Identity Service
| Name | Description | Value | | Name | Description | Value |
|----------------------------------------|---------------------------------------------------------------------------------------------------------------|-------------------| | -------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ----------------- |
| `identityservice.enabled` | Enable the Identity Service. | `true` | | `identityservice.enabled` | Enable the Identity Service. | `true` |
| `identityservice.global.ldapDomain` | The LDAP domain name in domain "dbrepo.at" form or explicit in "dc=dbrepo,dc=at" form. | `dc=dbrepo,dc=at` | | `identityservice.global.ldapDomain` | The LDAP domain name in domain "dbrepo.at" form or explicit in "dc=dbrepo,dc=at" form. | `dc=dbrepo,dc=at` |
| `identityservice.global.adminUser` | The admin username that is used to bind. | `admin` | | `identityservice.global.adminUser` | The admin username that is used to bind. | `admin` |
...@@ -294,7 +298,7 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -294,7 +298,7 @@ The command removes all the Kubernetes components associated with the chart and
### User Interface ### User Interface
| Name | Description | Value | | Name | Description | Value |
|--------------------------------------------------------|------------------------------------------------------------------------------------------------------|-------------------------| | ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ----------------------- |
| `ui.enabled` | Enable the Broker Service. | `true` | | `ui.enabled` | Enable the Broker Service. | `true` |
| `ui.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` | | `ui.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` |
| `ui.podSecurityContext.enabled` | Enable pods' Security Context | `true` | | `ui.podSecurityContext.enabled` | Enable pods' Security Context | `true` |
...@@ -331,20 +335,20 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -331,20 +335,20 @@ The command removes all the Kubernetes components associated with the chart and
### Dashboard Service ### Dashboard Service
| Name | Description | Value | | Name | Description | Value |
|-----------------------------------------------|------------------------------------------------------------------------------------------------------------------------|--------| | --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ------ |
| `dashboardservice.enabled` | Enable the Dashboard Service. | `true` | | `dashboardservice.enabled` | Enable the Dashboard Service. | `true` |
| `dashboardservice.dashboardsProvider.enabled` | Enable the default dashboard provisioning provider to routinely import dashboards from /opt/bitnami/grafana/dashboards | `true` | | `dashboardservice.dashboardsProvider.enabled` | Enable the default dashboard provisioning provider to routinely import dashboards from /opt/bitnami/grafana/dashboards | `true` |
### Metric Service ### Metric Service
| Name | Description | Value | | Name | Description | Value |
|--------------------|----------------------------|--------| | ------------------ | -------------------------- | ------ |
| `metricdb.enabled` | Enable the Metric Service. | `true` | | `metricdb.enabled` | Enable the Metric Service. | `true` |
### Ingress ### Ingress
| Name | Description | Value | | Name | Description | Value |
|--------------------------|-----------------------------------------------------------------------------------------------------------------|----------------| | ------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------- |
| `ingress.enabled` | Enable the ingress. | `false` | | `ingress.enabled` | Enable the ingress. | `false` |
| `ingress.className` | The ingress class name. | `nginx` | | `ingress.className` | The ingress class name. | `nginx` |
| `ingress.tls.enabled` | Enable the ingress. | `true` | | `ingress.tls.enabled` | Enable the ingress. | `true` |
......
...@@ -123,6 +123,9 @@ ...@@ -123,6 +123,9 @@
"properties": { "properties": {
"endpoint": { "endpoint": {
"type": "string" "type": "string"
},
"proto": {
"type": "string"
} }
}, },
"type": "object" "type": "object"
...@@ -514,8 +517,20 @@ ...@@ -514,8 +517,20 @@
}, },
"datadb": { "datadb": {
"properties": { "properties": {
"database": { "db": {
"properties": { "properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"extraFlags": {
"type": "string"
},
"fullnameOverride": {
"type": "string"
},
"galera": { "galera": {
"properties": { "properties": {
"mariabackup": { "mariabackup": {
...@@ -532,15 +547,21 @@ ...@@ -532,15 +547,21 @@
}, },
"type": "object" "type": "object"
}, },
"image": { "host": {
"type": "string"
},
"jdbcExtraArgs": {
"type": "string"
},
"metrics": {
"properties": { "properties": {
"debug": { "enabled": {
"type": "boolean" "type": "boolean"
} }
}, },
"type": "object" "type": "object"
}, },
"metrics": { "persistence": {
"properties": { "properties": {
"enabled": { "enabled": {
"type": "boolean" "type": "boolean"
...@@ -548,6 +569,9 @@ ...@@ -548,6 +569,9 @@
}, },
"type": "object" "type": "object"
}, },
"replicaCount": {
"type": "integer"
},
"rootUser": { "rootUser": {
"properties": { "properties": {
"password": { "password": {
...@@ -562,15 +586,6 @@ ...@@ -562,15 +586,6 @@
}, },
"type": "object" "type": "object"
}, },
"enabled": {
"type": "boolean"
},
"fullnameOverride": {
"type": "string"
}
},
"type": "object"
},
"dataservice": { "dataservice": {
"properties": { "properties": {
"containerSecurityContext": { "containerSecurityContext": {
...@@ -619,20 +634,6 @@ ...@@ -619,20 +634,6 @@
}, },
"type": "object" "type": "object"
}, },
"default": {
"properties": {
"date": {
"type": "integer"
},
"time": {
"type": "integer"
},
"timestamp": {
"type": "integer"
}
},
"type": "object"
},
"enabled": { "enabled": {
"type": "boolean" "type": "boolean"
}, },
...@@ -769,6 +770,14 @@ ...@@ -769,6 +770,14 @@
}, },
"identityservice": { "identityservice": {
"properties": { "properties": {
"containerSecurityContext": {
"properties": {
"enabled": {
"type": "boolean"
}
},
"type": "object"
},
"customSchemaFiles": { "customSchemaFiles": {
"properties": { "properties": {
"00-memberof.ldif": { "00-memberof.ldif": {
...@@ -946,6 +955,9 @@ ...@@ -946,6 +955,9 @@
"enabled": { "enabled": {
"type": "boolean" "type": "boolean"
}, },
"extraFlags": {
"type": "string"
},
"extraInitDbScripts": { "extraInitDbScripts": {
"properties": {}, "properties": {},
"type": "object" "type": "object"
......
...@@ -33,6 +33,8 @@ metadatadb: ...@@ -33,6 +33,8 @@ metadatadb:
fullnameOverride: metadata-db fullnameOverride: metadata-db
## @param metadatadb.host The hostname for the microservices. ## @param metadatadb.host The hostname for the microservices.
host: metadata-db host: metadata-db
## @param metadatadb.extraFlags Extra flags to ensure the query store works as intended, ref https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.5/api/data-db/#data
extraFlags: "--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci"
rootUser: rootUser:
## @param metadatadb.rootUser.user The root username. ## @param metadatadb.rootUser.user The root username.
user: root user: root
...@@ -126,6 +128,8 @@ datadb: ...@@ -126,6 +128,8 @@ datadb:
fullnameOverride: data-db fullnameOverride: data-db
## @param datadb.host The hostname for the microservices. ## @param datadb.host The hostname for the microservices.
host: data-db host: data-db
## @param datadb.extraFlags Extra flags to ensure the query store works as intended, ref https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.5/api/data-db/#data
extraFlags: "--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci"
rootUser: rootUser:
## @param datadb.rootUser.user The root username. ## @param datadb.rootUser.user The root username.
user: root user: root
...@@ -772,7 +776,7 @@ ui: ...@@ -772,7 +776,7 @@ ui:
## @param ui.public.broker.extra Extra metadata displayed. ## @param ui.public.broker.extra Extra metadata displayed.
extra: "" extra: ""
database: database:
## @param ui.public.datadb.extra Extra metadata displayed. ## @param ui.public.database.extra Extra metadata displayed.
extra: "" extra: ""
## @skip ui.public.links ## @skip ui.public.links
links: links:
......
...@@ -32,8 +32,6 @@ build-lib: ## Build the Python Library. ...@@ -32,8 +32,6 @@ build-lib: ## Build the Python Library.
.PHONY: build-helm .PHONY: build-helm
build-helm: ## Build the DBRepo and DBRepo MariaDB Galera Helm Charts. build-helm: ## Build the DBRepo and DBRepo MariaDB Galera Helm Charts.
./.scripts/check-helm.sh ./.scripts/check-helm.sh
helm package ./helm/dbrepo-mariadb-galera --destination ./build
helm schema -input ./helm/dbrepo-mariadb-galera/values.yaml -output ./helm/dbrepo-mariadb-galera/values.schema.json
helm dependency update ./helm/dbrepo helm dependency update ./helm/dbrepo
helm package ./helm/dbrepo --destination ./build helm package ./helm/dbrepo --destination ./build
helm schema -input ./helm/dbrepo/values.yaml -output ./helm/dbrepo/values.schema.json helm schema -input ./helm/dbrepo/values.yaml -output ./helm/dbrepo/values.schema.json
...@@ -9,7 +9,7 @@ gen-swagger-doc: build-images ## Generate Swagger documentation and fetch. ...@@ -9,7 +9,7 @@ gen-swagger-doc: build-images ## Generate Swagger documentation and fetch.
.PHONY: gen-helm-doc .PHONY: gen-helm-doc
gen-helm-doc: build-helm ## Generate Helm documentation and schema gen-helm-doc: build-helm ## Generate Helm documentation and schema
readme-generator-for-helm --readme ./helm/dbrepo/README.md --values ./helm/dbrepo/values.yaml readme-generator --readme ./helm/dbrepo/README.md --values ./helm/dbrepo/values.yaml
.PHONY: gen-dbrepo-doc .PHONY: gen-dbrepo-doc
gen-docs-doc: ## Generate DBRepo documentation. gen-docs-doc: ## Generate DBRepo documentation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment