From 74280951544020c631a0ed4105531492854718ab Mon Sep 17 00:00:00 2001 From: Tharsanan1 Date: Fri, 22 Sep 2023 11:06:50 +0530 Subject: [PATCH] Update template yaml with redis config --- helm-charts/README.md | 6 ++++++ helm-charts/values.yaml.template | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/helm-charts/README.md b/helm-charts/README.md index 9c1c8019e..a586f964c 100644 --- a/helm-charts/README.md +++ b/helm-charts/README.md @@ -46,6 +46,12 @@ A Helm chart for APK components | wso2.apk.dp.gateway.autoscaling.maxReplicas | int | `2` | Maximum number of replicas for Gateway | | wso2.apk.dp.gateway.autoscaling.targetMemory | int | `80` | Target memory utilization percentage for Gateway | | wso2.apk.dp.gateway.autoscaling.targetCPU | int | `80` | Target CPU utilization percentage for Gateway | +| wso2.apk.dp.redis.type | string | `"single"` | Redis type | +| wso2.apk.dp.redis.url | string | `"redis-master:6379"` | Redis URL | +| wso2.apk.dp.redis.tls | bool | `false` | TLS enabled | +| wso2.apk.dp.redis.auth.certificatesSecret | string | `nil` | Redis ceritificate secret | +| wso2.apk.dp.redis.auth.secretKey | string | `nil` | Redis secret key | +| wso2.apk.dp.redis.poolSize | string | `nil` | Redis pool size | | wso2.apk.dp.partitionServer.enabled | bool | `false` | Enable partition server for Data Plane. | | wso2.apk.dp.partitionServer.host | string | `""` | Partition Server Service URL | | wso2.apk.dp.partitionServer.serviceBasePath | string | `"/api/publisher/v1"` | Partition Server Service Base Path. | diff --git a/helm-charts/values.yaml.template b/helm-charts/values.yaml.template index 064f44735..47e49da72 100644 --- a/helm-charts/values.yaml.template +++ b/helm-charts/values.yaml.template @@ -88,6 +88,20 @@ wso2: targetMemory: 80 # -- Target CPU utilization percentage for Gateway targetCPU: 80 + redis: + # -- Redis type + type: "single" + # -- Redis URL + url: "redis-master:6379" + # -- TLS enabled + tls: false + auth: + # -- Redis ceritificate secret + certificatesSecret: + # -- Redis secret key + secretKey: + # -- Redis pool size + poolSize: partitionServer: # -- Enable partition server for Data Plane. enabled: false