Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default permission for replica balancing #770

Merged
merged 5 commits into from
Mar 19, 2025

Conversation

HoustonPutman
Copy link
Contributor

Fixes #653

Will test this out tomorrow.

@HoustonPutman
Copy link
Contributor Author

HoustonPutman commented Mar 19, 2025

Currently the v2 APIs do not support the named security rules (as of Solr 9.8.1) So we need to include the v2 path and the named security group for future and back compatibility.

Back compat:

{
  "name": "k8s-replica-balancing",
  "role": "k8s",
  "collection": null,
  "path": "/____v2/cluster/replicas/balance"
}

Future compat:

{
  "name": "collection-admin-edit",
  "role": "k8s"
}

@HoustonPutman HoustonPutman merged commit 494471b into apache:main Mar 19, 2025
3 checks passed
HoustonPutman added a commit that referenced this pull request Mar 19, 2025
"collection-admin-edit" for Solr 9.9+ and "/____v2/cluster/replicas/balance" for previous versions

(cherry picked from commit 494471b)
@HoustonPutman HoustonPutman deleted the replica-balancing-permission branch March 19, 2025 18:35
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.

Getting unauthorized requests for cluster/replicas/balance in v0.8.0
1 participant