Skip to content

Commit

Permalink
Update template yaml with redis config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharsanan1 authored and tharindu1st committed Sep 22, 2023
1 parent 97ca0bc commit f442797
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm-charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
14 changes: 14 additions & 0 deletions helm-charts/values.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f442797

Please sign in to comment.