-
Notifications
You must be signed in to change notification settings - Fork 882
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
Make the metallb rbac namespaced for the metallb CRs #1287
Commits on Mar 31, 2022
-
Rbac: remove the kustomize annotations
controller-gen is meant to generate rbac for one single role, while we have different rbacs for the controller and for the speaker. We remove the annotations and the generater rbac. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d71e034 - Browse repository at this point
Copy the full SHA d71e034View commit details -
Controllers: set a namespace selector on metallb crs
By doing this, we can keep the role as namespace scoped instead of cluster scoped, limiting the namespace we listen for crs. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 19aa044 - Browse repository at this point
Copy the full SHA 19aa044View commit details -
Manifests: move the rbac from cluster to namespace for metallb crs
The CRs are supposed to be created in the metallb's namespace, there's no need to create them cluster scoped. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 9c1c6a4 - Browse repository at this point
Copy the full SHA 9c1c6a4View commit details -
Helm: move the rbac from cluster to namespace for crs
Aligning the helm chart to have the crs namespaced instead of cluster scoped. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for ce82cd8 - Browse repository at this point
Copy the full SHA ce82cd8View commit details -
Manifests: align with the new rbac
Regenerated manifests with moving the rbac from cluster to namespace for the metallb CRs. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c0f9b88 - Browse repository at this point
Copy the full SHA c0f9b88View commit details -
Helm: remove unused config-watcher role
We don't have the configmap anymore, we remove the role from the charts. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 070ddf5 - Browse repository at this point
Copy the full SHA 070ddf5View commit details -
Remove the predicate for namespace in config crds
The predicate is not needed anymore, as the crds are now namespaced and metallb listens only to those in its namespace. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 2846085 - Browse repository at this point
Copy the full SHA 2846085View commit details -
We bumped ci but we did not bump go.mod, aligning it. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 67b5e84 - Browse repository at this point
Copy the full SHA 67b5e84View commit details -
Bump golangci-lint and make the timeout longer
We update the version, and we wait more for it to complete. Also, changing the nolint annotation to be compatible to the new version. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for cb9983e - Browse repository at this point
Copy the full SHA cb9983eView commit details