Skip to content

Commit 6c94a36

Browse files
authored
fix: add etcd auto compaction env (#841)
1 parent 7c83eb3 commit 6c94a36

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

charts/apisix/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ The command removes all the Kubernetes components associated with the chart and
154154
| dashboard.config.conf.etcd.prefix | string | `"/apisix"` | apisix configurations prefix |
155155
| dashboard.config.conf.etcd.username | string | `nil` | Specifies etcd basic auth username if enable etcd auth |
156156
| dashboard.enabled | bool | `false` | |
157-
| etcd | object | `{"auth":{"rbac":{"create":false,"rootPassword":""},"tls":{"certFilename":"","certKeyFilename":"","enabled":false,"existingSecret":"","sni":"","verify":true}},"containerSecurityContext":{"enabled":false},"enabled":true,"prefix":"/apisix","replicaCount":3,"service":{"port":2379},"timeout":30}` | etcd configuration use the FQDN address or the IP of the etcd |
157+
| etcd | object | `{"auth":{"rbac":{"create":false,"rootPassword":""},"tls":{"certFilename":"","certKeyFilename":"","enabled":false,"existingSecret":"","sni":"","verify":true}},"autoCompactionMode":"periodic","autoCompactionRetention":"1h","containerSecurityContext":{"enabled":false},"enabled":true,"prefix":"/apisix","replicaCount":3,"service":{"port":2379},"timeout":30}` | etcd configuration use the FQDN address or the IP of the etcd |
158158
| etcd.auth | object | `{"rbac":{"create":false,"rootPassword":""},"tls":{"certFilename":"","certKeyFilename":"","enabled":false,"existingSecret":"","sni":"","verify":true}}` | if etcd.enabled is true, set more values of bitnami/etcd helm chart |
159159
| etcd.auth.rbac.create | bool | `false` | No authentication by default. Switch to enable RBAC authentication |
160160
| etcd.auth.rbac.rootPassword | string | `""` | root password for etcd. Requires etcd.auth.rbac.create to be true. |

charts/apisix/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,8 @@ etcd:
637637
port: 2379
638638

639639
replicaCount: 3
640+
autoCompactionRetention: "1h"
641+
autoCompactionMode: "periodic"
640642

641643
dashboard:
642644
enabled: false

0 commit comments

Comments
 (0)