This is an automated email from the ASF dual-hosted git repository.

baoyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c94a36  fix: add etcd auto compaction env (#841)
6c94a36 is described below

commit 6c94a360ef6c12207918acd701019b0306b0d88f
Author: cooper.wu <hanqin...@126.com>
AuthorDate: Thu Jul 10 09:42:04 2025 +0800

    fix: add etcd auto compaction env (#841)
---
 charts/apisix/README.md   | 2 +-
 charts/apisix/values.yaml | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/charts/apisix/README.md b/charts/apisix/README.md
index b0dbf95..b015bc3 100644
--- a/charts/apisix/README.md
+++ b/charts/apisix/README.md
@@ -154,7 +154,7 @@ The command removes all the Kubernetes components 
associated with the chart and
 | dashboard.config.conf.etcd.prefix | string | `"/apisix"` | apisix 
configurations prefix |
 | dashboard.config.conf.etcd.username | string | `nil` | Specifies etcd basic 
auth username if enable etcd auth |
 | dashboard.enabled | bool | `false` |  |
-| 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 |
+| 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 |
 | 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 |
 | etcd.auth.rbac.create | bool | `false` | No authentication by default. 
Switch to enable RBAC authentication |
 | etcd.auth.rbac.rootPassword | string | `""` | root password for etcd. 
Requires etcd.auth.rbac.create to be true. |
diff --git a/charts/apisix/values.yaml b/charts/apisix/values.yaml
index abf896d..ccbb68f 100644
--- a/charts/apisix/values.yaml
+++ b/charts/apisix/values.yaml
@@ -637,6 +637,8 @@ etcd:
     port: 2379
 
   replicaCount: 3
+  autoCompactionRetention: "1h"
+  autoCompactionMode: "periodic"
 
 dashboard:
   enabled: false

Reply via email to