tchin25 opened a new pull request, #604:
URL: https://github.com/apache/flink-kubernetes-operator/pull/604
## What is the purpose of the change
The operator doesn't have the ability to manage leases in its own namespace
when using `watchNamespaces`. This fixes that by adding a `Role` and
`RoleBinding` for it when `watchNamespaces` is set.
## Brief change log
- Add Role and RoleBinding for the operator in release namespace when
using namespace-scoped RBAC
- Remove the ability to create leases from `watchNamespaces` when using
namespace-scoped RBAC
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage. We
do, however, currently have this change
[deployed](https://github.com/wikimedia/operations-deployment-charts/commit/e06d57b5bdf06f827e4e1ca081320aee4cc82cb0)
in our production setup
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changes to the `CustomResourceDescriptors`:
no
- Core observer or reconciler logic that is regularly executed: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
--
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]