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: introduce missing Role into keptn-cert-manager helm charts #3435

Merged
merged 4 commits into from
Apr 19, 2024

Conversation

odubajDT
Copy link
Contributor

@odubajDT odubajDT commented Apr 18, 2024

Fixes: #3434

Changes

  • fixed outdated certificate in keptn-cert-manager unit tests
  • introduce separate Role for keptn-cert-manager leader election in helm charts
  • introduce separate RoleBinding for scheduler leader election in helm charts
  • polish resources

Testing

The fix was manually tested and it's working. Even the scenario with installed lifecycle-operator and disabled metrics-operator was tested and it's working. Automated tests will be provided in a follow-up.

Copy link

codecov bot commented Apr 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.31%. Comparing base (6012bd7) to head (eb2745f).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3435   +/-   ##
=======================================
  Coverage   85.31%   85.31%           
=======================================
  Files         167      167           
  Lines        7415     7415           
=======================================
  Hits         6326     6326           
  Misses        800      800           
  Partials      289      289           
Flag Coverage Δ
certificate-operator 69.23% <ø> (ø)
component-tests 58.04% <ø> (ø)
lifecycle-operator 83.42% <ø> (ø)
metrics-operator 88.32% <ø> (ø)
scheduler 34.74% <ø> (ø)

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

Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
@odubajDT odubajDT marked this pull request as ready for review April 18, 2024 12:10
@odubajDT odubajDT requested a review from a team as a code owner April 18, 2024 12:10
bacherfl
bacherfl previously approved these changes Apr 18, 2024
Copy link
Member

@bacherfl bacherfl left a comment

Choose a reason for hiding this comment

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

approved, with an optional suggestion

Copy link

sonarcloud bot commented Apr 19, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@odubajDT odubajDT merged commit 16afdaa into keptn:main Apr 19, 2024
42 of 43 checks passed
Vickysomtee pushed a commit to Vickysomtee/keptn-lifecycle-toolkit that referenced this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing keptn-cert-manager leader-election Role
4 participants