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

fix: added metric-operator prefix to related ClusterRole and ClusterRoleBindings #1042

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

bacherfl
Copy link
Member

This PR adds the metrics-operator prefix to the ClusterRole and ClusterRoleBinding required by the HPA to read KeptnMetrics. The resulting names are now:

server-resources --> metrics-operator-server-resources
hpa-controller-keptn-metrics -> metrics-operator-hpa-controller 

The name of the ClusterRoleBinding has been changed to avoid errors when upgrading from the previous version, due to the limitation of not being able to change the roleRef of an existing ClusterRoleBinding

@netlify
Copy link

netlify bot commented Mar 13, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 0095aab
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/640eeb75a3410b000845e772
😎 Deploy Preview https://deploy-preview-1042--keptn-lifecycle-toolkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sonarcloud
Copy link

sonarcloud bot commented Mar 13, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bacherfl bacherfl marked this pull request as ready for review March 13, 2023 09:24
@codecov
Copy link

codecov bot commented Mar 13, 2023

Codecov Report

Merging #1042 (0095aab) into main (e89264d) will increase coverage by 2.07%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1042      +/-   ##
==========================================
+ Coverage   56.61%   58.69%   +2.07%     
==========================================
  Files          92      124      +32     
  Lines        8520     9910    +1390     
==========================================
+ Hits         4824     5817     +993     
- Misses       3564     3880     +316     
- Partials      132      213      +81     

see 36 files with indirect coverage changes

Flag Coverage Δ
certificate-operator 64.15% <ø> (?)
component-tests 59.60% <ø> (-0.87%) ⬇️
lifecycle-operator 78.39% <ø> (?)
metrics-operator 77.00% <ø> (?)
scheduler 21.17% <ø> (ø)

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

@bacherfl bacherfl merged commit 92d16a3 into keptn:main Mar 13, 2023
@keptn-bot keptn-bot mentioned this pull request Mar 13, 2023
@bacherfl bacherfl deleted the fix/metrics-crb-names branch March 13, 2023 15:01
@keptn-bot keptn-bot mentioned this pull request Mar 16, 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