Skip to content

feat(redis-ha): add EndpointSlices RBAC support#409

Merged
DandyDeveloper merged 1 commit into
masterfrom
feat/redis-ha-endpointslices-394
Jun 15, 2026
Merged

feat(redis-ha): add EndpointSlices RBAC support#409
DandyDeveloper merged 1 commit into
masterfrom
feat/redis-ha-endpointslices-394

Conversation

@DandyDeveloper

Copy link
Copy Markdown
Owner

Summary

Closes #394.

Kubernetes v1.33 deprecates the Endpoints API in favor of EndpointSlices (discovery.k8s.io). The redis-ha and redis-ha-haproxy Roles currently only grant get on the legacy endpoints resource. This PR adds an equivalent get permission on endpointslices so the chart continues to work on newer clusters.

The existing endpoints permission is retained for backward compatibility — the Endpoints API is deprecated but still served on supported clusters, so this is a non-breaking, additive change.

Changes

  • templates/redis-ha-role.yaml — add discovery.k8s.io/endpointslices rule
  • templates/redis-haproxy-role.yaml — add discovery.k8s.io/endpointslices rule
  • Chart.yaml — bump version 4.38.04.39.0

Testing

helm template renders both Roles with the new endpointslices rule alongside the existing endpoints rule.

🤖 Generated with Claude Code

Kubernetes v1.33 deprecates the Endpoints API in favor of EndpointSlices
(discovery.k8s.io). Grant the redis-ha and haproxy Roles get access to
endpointslices alongside the existing endpoints permission so the chart
keeps working on newer clusters while remaining backward compatible.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@DandyDeveloper DandyDeveloper merged commit 6224454 into master Jun 15, 2026
2 checks passed
@DandyDeveloper DandyDeveloper deleted the feat/redis-ha-endpointslices-394 branch June 15, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redis-ha chart support to Endpointslices

1 participant