[!WARNING]
Disclaimer: This repository is currently a work in progress. While contributions and feedback are welcome, please note that the code and features may change frequently, and some functionalities may not be fully implemented or tested. Use this project at your own risk.
This chart bootstraps a safe-client-gateway deployment on a Kubernetes cluster using the Helm package manager.
We also package the following helm charts from Bitnami for you to optionally use:
Chart | Descrption |
---|---|
Redis | For enabling caching |
To install the chart with the release name [RELEASE-NAME]
:
helm repo add safe https://5afe.github.io/safe-helm-charts/charts/packages
helm install [RELEASE-NAME] safe/safe-client-gateway
The command deploys safe-client-gateway on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
To uninstall the [RELEASE-NAME]
deployment:
helm uninstall [RELEASE-NAME]
The command removes all the Kubernetes components associated with the chart and deletes the release.
To upgrade the [RELEASE-NAME]
deployment with the latest version:
helm upgrade [RELEASE-NAME] safe/safe-client-gateway
The following table lists the configurable parameters of the safe-client-gateway chart and their default values.
See Customizing the Chart Before Installing. To see all configurable options with detailed comments:
helm show values safe-client-gateway
Parameter | Description | Default |
---|---|---|
nameOverride |
Provide a name in place of safe-client-gateway for app: labels |
"" |
fullnameOverride |
Provide a name to substitute for the full names of resources | "" |
Parameter | Description | Default |
---|---|---|
replicaCount |
Number of instance for safe-client-gateway-web | 1 |
image.repository |
safe-client-gateway image name | safeglobal/safe-client-gateway-nest |
image.tag |
safe-client-gateway image tag | latest |
image.pullPolicy |
Image pull policy | Always |
extraEnv |
Specify additional environment variables | [] |
Parameter | Description | Default |
---|---|---|
config.debug |
Enable debug mode | true |
config.cfgService.url |
URL of the Config-Service | "" |
config.security.authToken |
Authentication token | "" |
config.redis.host |
Redis Host if safe-client-gateway-redis.enabled=false |
"" |
config.redis.port |
Redis Port | 6379 |
Parameter | Description | Default |
---|---|---|
web.nodeSelector |
{} |
|
web.affinity |
{} |
|
web.tolerations |
{} |
|
web.securityContext |
{} |
|
web.podSecurityContext |
{} |
|
web.resources |
{} |
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 | <pre>nginx.ingress.kubernetes.io/force-ssl-redirect: “true” nginx.ingress.kubernetes.io/enable-cors: “true” nginx.ingress.kubernetes.io/cors-allow-methods: “OPTIONS, GET, HEAD, DELETE, PUT, POST” nginx.ingress.kubernetes.io/cors-allow-origin: “https://*.minikube.net” nginx.ingress.kubernetes.io/cors-allow-headers: “DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,Safe-Wallet-Signature,Safe-Wallet-Signature-Timestamp”</pre> |
Parameter | Description | Default |
---|---|---|
safe-client-gateway-redis.enabled |
Spin up a Redis instance | true |
Refer to bitnami/redis for configuration.