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

Drop unused permission + configurable binary path #2478

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

bpineau
Copy link
Contributor

@bpineau bpineau commented Oct 28, 2024

Why are these changes needed?

$ kubectl get configmap --subresource status myconfigmap        # k8s v1.28
Error from server (NotFound): the server could not find the requested resource

Checks

That's chart only change:

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • [x ] Manual tests
    • This PR is not tested :(

@kevin85421
Copy link
Member

Thank you for the PR! Would you mind fixing the CI error? Our RBAC has two versions: role / rolebinding and clusterrole / clusterrolebinding. They need to be consistent.

@kevin85421 kevin85421 self-assigned this Oct 29, 2024
Configmaps have no status; omiting this to avoid operator having to
be granted that non existing subresource:
https://github.com/kubernetes/kubernetes/blob/v1.31.2/pkg/apis/core/types.go#L1722-L1743
```
$ kubectl get configmap --subresource status myconfigmap        # k8s v1.28
Error from server (NotFound): the server could not find the requested resource
```

Supporting overriding the operator's binary path can be useful for
custom rebuilds, or using a wrapper, ...
Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@kevin85421 kevin85421 merged commit 33ba385 into ray-project:master Oct 30, 2024
29 checks passed
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.

2 participants