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

remove deployment of policy-controller for now #338

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

maleck13
Copy link
Collaborator

When we deploy a hub and spoke in the same cluster, we end up with two policy controllers running. So rather than rush into this deployment model, going to remove the policy controller from the kuadrant-operator CSV for now. We will update a the docs and explain that in a single cluster you can use the policy-controller in a single cluster and provide a command to install via kustomize

Kuadrant/multicluster-gateway-controller#693

@maleck13 maleck13 requested a review from a team as a code owner November 24, 2023 11:34
Copy link

codecov bot commented Nov 24, 2023

Codecov Report

Merging #338 (a81859e) into main (cb9d3d5) will increase coverage by 0.31%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #338      +/-   ##
==========================================
+ Coverage   64.44%   64.76%   +0.31%     
==========================================
  Files          35       35              
  Lines        3794     3794              
==========================================
+ Hits         2445     2457      +12     
+ Misses       1156     1146      -10     
+ Partials      193      191       -2     
Flag Coverage Δ
integration 70.53% <ø> (+0.59%) ⬆️
unit 58.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
api/v1beta1 (u) ∅ <ø> (∅)
pkg/common (u) 73.92% <ø> (ø)
pkg/istio (u) 30.24% <ø> (ø)
pkg/log (u) 31.81% <ø> (ø)
pkg/reconcilers (u) 33.68% <ø> (ø)
pkg/rlptools (u) 56.46% <ø> (ø)
controllers (i) 70.53% <ø> (+0.59%) ⬆️

see 4 files with indirect coverage changes

@mikenairn
Copy link
Member

You'll need to manually remove the CRDs and Roles added by the policy-controller from here https://github.com/Kuadrant/kuadrant-operator/tree/main/bundle/manifests. The bundle command doesn't remove these unfortunately.

@maleck13 maleck13 force-pushed the remove-policy-controller-for-now branch from 95655e6 to 933b1fa Compare November 24, 2023 11:54
Copy link
Member

@didierofrivia didierofrivia left a comment

Choose a reason for hiding this comment

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

I reckon we can leave the targets for metallb even if atm there's no practical use for those.

@mikenairn
Copy link
Member

I reckon we can leave the targets for metallb even if atm there's no practical use for those.

fyi, we plan to still add these docs but with an extra step to install the policy-controller #322, this will still require metallb.

@maleck13
Copy link
Collaborator Author

@didierofrivia I see the integration tests failed. I don't think they are to do with this change. Still ok to merge?

@mikenairn
Copy link
Member

I reckon we can leave the targets for metallb even if atm there's no practical use for those.

fyi, we plan to still add these docs but with an extra step to install the policy-controller #322, this will still require metallb.

Docs PR is updated now #322 @maleck13 @didierofrivia fyi

@didierofrivia
Copy link
Member

@maleck13 rebasing with main should fix the test failing

@maleck13 maleck13 force-pushed the remove-policy-controller-for-now branch from 933b1fa to a81859e Compare November 24, 2023 13:18
@maleck13
Copy link
Collaborator Author

@didierofrivia still looks to be failing any help would be appreciated . Seems to also be failing on just a docs update #322

@maleck13 maleck13 merged commit 2740b79 into main Nov 27, 2023
21 checks passed
@eguzki eguzki deleted the remove-policy-controller-for-now branch November 27, 2023 13:08
maleck13 added a commit to maleck13/kuadrant-operator that referenced this pull request Dec 12, 2023
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.

3 participants