-
Notifications
You must be signed in to change notification settings - Fork 9
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
Clean up resource labels, names, and namespaces #119
Clean up resource labels, names, and namespaces #119
Conversation
WalkthroughThe pull request updates Kubernetes resource configurations by renaming resources and standardizing naming conventions. Namespace, service accounts, roles, bindings, services, and deployments are renamed from the "capi-agent" prefix to "capoa". Additionally, extraneous metadata labels and commented sections were removed, and two obsolete manager configuration patch files were deleted. Both bootstrap and controlplane components were updated consistently without modifying core functionality. Changes
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (37)
💤 Files with no reviewable changes (4)
🚧 Files skipped from review as they are similar to previous changes (30)
🔇 Additional comments (12)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
- Remove unnecessary labels on resources - Rename namePrefix and namespace to match the repo rename - Ensure labels and selectors are unique to the provider (for when they run in the same namespace)
To do this it is required to remove the namespace and object prefix fields from the default kustomization.yaml. Without these changes the namespace objects in the manager manifest would get prefixed and thus would change between the providers. Now it will be required to directly name and namespace resources when creating them.
e30768c
to
a2d62a5
Compare
a2d62a5
to
37b4864
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carbonin, rccrdpccl The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
c574c08
into
openshift-assisted:master
Summary by CodeRabbit
Chores
Refactor