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

Refactoring service name and metrics port to match authorino #150

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

R-Lawton
Copy link
Contributor

@R-Lawton R-Lawton commented Jul 4, 2024

Updating metrics service name and removing patch for metrics port to make limitador operator more inline with authorino-operator. The conversation that sparked changes: Kuadrant/authorino-operator#187

Verification:

  • make local-setup

  • Verify metrics port 8080 is being shown
    kubectl get deployment limitador-operator-controller-manager -n limitador-operator-system -o yaml

  • Ensure the metrics service looks like below
    kubectl get service -A
    Screenshot 2024-07-04 at 18 00 35

Makefile Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jul 4, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.40%. Comparing base (e3f28fc) to head (7b54231).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
- Coverage   85.31%   84.40%   -0.91%     
==========================================
  Files          19       19              
  Lines         994      994              
==========================================
- Hits          848      839       -9     
- Misses         95      100       +5     
- Partials       51       55       +4     
Flag Coverage Δ
integration 78.37% <ø> (-1.31%) ⬇️
unit 66.51% <ø> (ø)

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

Components Coverage Δ
api/v1alpha1 (u) 100.00% <ø> (ø)
pkg/helpers (u) 83.87% <ø> (ø)
pkg/log (u) 94.73% <ø> (ø)
pkg/reconcilers (u) 74.67% <ø> (ø)
pkg/limitador (u) 98.11% <ø> (ø)
controllers (i) 73.33% <ø> (-3.00%) ⬇️
pkg/upgrades 88.88% <ø> (ø)

see 2 files with indirect coverage changes

Copy link
Contributor

@eguzki eguzki left a comment

Choose a reason for hiding this comment

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

Looking good.

@@ -0,0 +1,17 @@
apiVersion: v1
Copy link
Contributor

Choose a reason for hiding this comment

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

In the bundle dir, there are now two metric services, right? one should be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops yes good catch

Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
…cs port to make limitador operator more inline with authorino-operator
@R-Lawton R-Lawton merged commit 181e4be into Kuadrant:main Jul 5, 2024
10 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.

3 participants