From 0d8457950a885f923c6b8f25de78a500866d495f Mon Sep 17 00:00:00 2001 From: Greg Jeanmart Date: Fri, 26 Jul 2024 12:48:13 +0200 Subject: [PATCH] update README --- charts/safe-config-service/README.md | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/charts/safe-config-service/README.md b/charts/safe-config-service/README.md index 5617037..76f48a4 100644 --- a/charts/safe-config-service/README.md +++ b/charts/safe-config-service/README.md @@ -65,6 +65,75 @@ See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_h helm show values safe-config-service ``` +### Common parameters + +| Parameter | Description | Default | +|---|---|---| +| nameOverride | Provide a name in place of safe-config-service for `app:` labels | "" | +| fullnameOverride | Provide a name to substitute for the full names of resources | "" | + +### Installation parameters + +| Parameter | Description | Default | +|---|---|---| +| replicaCount | Number of instance for safe-config-service -web | 1 | +| image.repository | safe-config-service image name | safeglobal/safe-config-service | +| image.tag | safe-config-service image tag | latest | +| image.pullPolicy | Image pull policy | Always | +| extraEnv | Specify additional environment variables | [] | + +### Configuration parameters + +| Parameter | Description | Default | +|---|---|---| +| config.debug | Enable debug mode | true | +| config.secretKey | Django secret key | "" | +| config.csrf.trustedOrigins | Trusted origins should refer to safe-wallet-web URL | "" | +| config.clientGateway.url | URL of the Client-Gateway | "" | +| config.clientGateway.token | Client-Gateway flush token | "" | +| config.database.runMigration | Run Database migration on startup | true | +| config.database.host | Database Host
if `safe-config-service-postgresql.enabled=false` | "" | +| config.database.port | Database Port
if `safe-config-service-postgresql.enabled=false` | "" | +| config.database.user | Database Username
if `safe-config-service-postgresql.enabled=false` | "" | +| config.database.password | Database Password
if `safe-config-service-postgresql.enabled=false` | "" | +| config.database.db | Database DB
if `safe-config-service-postgresql.enabled=false` | "" | +| config.admin.auth.enabled | Autoconfigure Django admin panel on startup | true | +| config.admin.auth.username | Django admin panel username | root | +| config.admin.auth.password | Django admin panel password | root123 | +| config.admin.auth.email | Django admin panel email | root@example.com | + +### Pod parameters + +| Parameter | Description | Default | +|---|---|---| +| web.nodeSelector | | {} | +| web.affinity | | {} | +| web.tolerations | | {} | +| web.securityContext | | {} | +| web.podSecurityContext | | {} | +| web.resources | | {} | + +### Ingress parameters + +| Parameter | Description | Default | +|---|---|---| +| ingress.enabled | Enable ingress | true | +| ingress.ingressClassName | Ingress class name | nginx | +| ingress.host | Ingress host | cgw-service.minikube.net | +| ingress.annotations | Ingress annotations | nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/enable-cors: "false" | + +### Database parameters + +| Parameter | Description | Default | +|---|---|---| +| safe-config-service-postgresql.enabled | Spin up a PostgreSQL instance | true | + +Refer to [bitnami/postgresql](https://artifacthub.io/packages/helm/bitnami/postgresql) for configuration. + + + + + | Parameter | Description | Default | |---------------------------------------------|-----------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------| | nameOverride | Provide a name in place of safe-config-service for `app:` labels | "" |