moonming opened a new pull request, #1068:
URL: https://github.com/apache/apisix-helm-chart/pull/1068

   ## Summary
   
   - Enable RBAC authentication for the bundled etcd by default and bump the 
APISIX chart to 4.0.0.
   - Reuse the etcd chart's generated Secret: APISIX reads the same root 
password through `secretKeyRef` as `APISIX_ETCD_PASSWORD` and connects as 
`root`.
   - Document the required upgrade migration, GitOps behavior, and rollback 
precautions.
   
   Fixes #1032. NetworkPolicy remains a separate layer: even a pod with a 
forged client label cannot write to etcd without credentials.
   
   ## Upgrade notes
   
   Fresh installations generate a random password without additional 
configuration. Existing releases must create a password Secret before upgrading 
and set `etcd.auth.rbac.existingSecret`; an upgrade that enables authentication 
without it fails instead of silently changing or losing credentials. When using 
`--reuse-values`, set `etcd.auth.rbac.create=true` explicitly so the previous 
`false` value is not retained. The README includes the exact commands and 
explains the temporary Admin API write interruption while authentication is 
enabled.
   
   This change is limited to password authentication and does not change the 
existing TLS configuration.
   
   ## Verification
   
   - Render tests pass with both Helm 3.22.1 and 4.2.4:
     - `test/render/admin-credentials.sh`: 100 assertions.
     - `test/render/etcd-access.sh`: 81 assertions.
     - `test/render/data-encryption.sh`: 59 assertions.
   - `ct lint --skip-helm-dependencies --validate-maintainers=false` passes for 
the APISIX, dashboard, and ingress-controller charts, using the dependency 
versions pinned in `Chart.lock`.
   - Real Kubernetes 1.37.0 / Helm 3.22.1 E2E:
     - `test/e2e/etcd-access.sh`: 45 assertions pass, including authenticated 
fresh installs, rejection of anonymous reads and forged-label writes, password 
preservation across upgrades, and migration from chart 2.18.2 with a 
pre-created Secret.
     - `test/e2e/data-encryption.sh`: 52 assertions pass, including reads from 
unauthenticated old releases, authenticated reads after migration, 
`--reuse-values` migration from chart 3.0.0, and encryption-key rotation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to