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

Updated schema and README

parent bc4e937d
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ lint-helm-readme:
- npm install -g pkg
- pkg . -o readme-generator
script:
- ./readme-generator --readme ./CI_README.md --values ./helm/dbrepo/values.yaml
- ./readme-generator --readme ./helm/dbrepo/README.md --values ./helm/dbrepo/values.yaml
- diff ./CI_README.md ./helm/dbrepo/README.md
lint-metadata-schema:
......
......@@ -65,7 +65,7 @@ The command removes all the Kubernetes components associated with the chart and
### Metadata Database
| Name | Description | Value |
| ---------------------------------------- |----------------------------------------------------------------------------------------------------------------------------------------| ---------------------------------------------------------------------- |
| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `metadatadb.enabled` | Enable the Metadata datadb. | `true` |
| `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.6/api/data-db/#data | `--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci` |
......@@ -82,7 +82,7 @@ The command removes all the Kubernetes components associated with the chart and
### Auth Service
| Name | Description | Value |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `authservice.enabled` | Enable the Auth Service. | `true` |
| `authservice.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` |
| `authservice.endpoint` | The hostname for the microservices. | `http://auth-service` |
......@@ -92,13 +92,13 @@ The command removes all the Kubernetes components associated with the chart and
| `authservice.tls.existingSecret` | The secret containing the `tls.crt`, `tls.key` and `ca.crt`. | `ingress-cert` |
| `authservice.client.id` | The client id for the microservices. | `dbrepo-client` |
| `authservice.client.secret` | The client secret for the microservices. | `MUwRc7yfXSJwX8AdRMWaQC3Nep1VjwgG` |
| `authservice.init.resourcesPreset` | The container resource preset | `nano` |
| `authservice.init.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `authservice.setupJob.resourcesPreset` | The container resource preset | `nano` |
| `authservice.setupJob.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
### Data Database
| Name | Description | Value |
| ------------------------------------ |----------------------------------------------------------------------------------------------------------------------------------------| ---------------------------------------------------------------------- |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `datadb.host` | The hostname for the microservices. | `data-db` |
| `datadb.extraFlags` | Extra flags to ensure the query store works as intended, ref https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.6/api/data-db/#data | `--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci` |
| `datadb.rootUser.user` | The root username. | `root` |
......@@ -224,7 +224,7 @@ mqtt.prefetch = 10
| `metadataservice.containerSecurityContext.readOnlyRootFilesystem` | Set container's Security Context readOnlyRootFilesystem | `false` |
| `metadataservice.containerSecurityContext.capabilities.drop` | Set container's Security Context runAsNonRoot | `["ALL"]` |
| `metadataservice.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `metadataservice.resourcesPreset` | The container resource preset | `micro` |
| `metadataservice.resourcesPreset` | The container resource preset | `small` |
| `metadataservice.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `metadataservice.endpoint` | The Metadata Service endpoint. | `http://metadata-service` |
| `metadataservice.crossref.endpoint` | The CrossRef endpoint. | `http://data.crossref.org` |
......
No preview for this file type
......@@ -129,9 +129,6 @@
"extraEnvVarsCM": {
"type": "string"
},
"extraStartupArgs": {
"type": "string"
},
"extraVolumeMounts": {
"items": {
"properties": {
......@@ -176,21 +173,9 @@
},
"type": "object"
},
"init": {
"initdbScripts": {
"properties": {
"image": {
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"resources": {
"properties": {},
"type": "object"
},
"resourcesPreset": {
"import-realms.sh": {
"type": "string"
}
},
......@@ -237,6 +222,26 @@
"resourcesPreset": {
"type": "string"
},
"setupJob": {
"properties": {
"image": {
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"resources": {
"properties": {},
"type": "object"
},
"resourcesPreset": {
"type": "string"
}
},
"type": "object"
},
"tls": {
"properties": {
"enabled": {
......@@ -507,6 +512,14 @@
},
"extraEnvVarsSecret": {
"type": "string"
},
"updateStrategy": {
"properties": {
"type": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
......
......@@ -107,6 +107,7 @@ authservice:
id: dbrepo-client
## @param authservice.client.secret The client secret for the microservices.
secret: MUwRc7yfXSJwX8AdRMWaQC3Nep1VjwgG
## @skip authservice.initdbScripts
initdbScripts:
import-realms.sh: |
#!/bin/bash
......@@ -114,11 +115,11 @@ authservice:
kc.sh import --file /opt/keycloak/data/import/dbrepo-realm.json
setupJob:
image:
## @skip authservice.init.image.name
## @skip authservice.setupJob.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/auth-service-init:1.6.1
## @param authservice.init.resourcesPreset The container resource preset
## @param authservice.setupJob.resourcesPreset The container resource preset
resourcesPreset: "nano"
## @param authservice.init.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
## @param authservice.setupJob.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
resources: { }
## requests:
## cpu: 250m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment