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(lifecycle-operator): make sure the CloudEvents endpoint from the KeptnConfig is applied #2289

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

bacherfl
Copy link
Member

@bacherfl bacherfl commented Oct 18, 2023

This PR fixes the KeptnConfig reconciler by calling the method to set the cloud events endpoint. Some refactoring has been done in the controller as well, to be able to verify that the relevant methods of the config instance have been called

…KeptnConfig is applied

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@netlify
Copy link

netlify bot commented Oct 18, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 3869196
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/652f8b67f429f30008f3fc3c
😎 Deploy Preview https://deploy-preview-2289--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 configuration.

@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #2289 (ba9e841) into main (66e86c0) will decrease coverage by 1.04%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2289      +/-   ##
==========================================
- Coverage   86.75%   85.72%   -1.04%     
==========================================
  Files         101      161      +60     
  Lines        6706    10246    +3540     
==========================================
+ Hits         5818     8783    +2965     
- Misses        743     1189     +446     
- Partials      145      274     +129     
Files Coverage Δ
...ator/controllers/options/keptnconfig_controller.go 85.41% <100.00%> (+2.48%) ⬆️

... and 61 files with indirect coverage changes

Flag Coverage Δ
certificate-operator 67.43% <ø> (?)
component-tests 59.45% <ø> (+0.27%) ⬆️
lifecycle-operator 85.46% <100.00%> (+0.01%) ⬆️
metrics-operator 87.58% <ø> (?)
scheduler 32.12% <ø> (ø)

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

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@sonarcloud
Copy link

sonarcloud bot commented Oct 18, 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 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bacherfl bacherfl marked this pull request as ready for review October 18, 2023 07:58
@bacherfl bacherfl requested a review from a team as a code owner October 18, 2023 07:58
@bacherfl bacherfl merged commit b5d9fc0 into keptn:main Oct 18, 2023
43 checks passed
@bacherfl bacherfl deleted the fix/set-cloud-events-endpoint branch October 18, 2023 10:56
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.

None yet

3 participants