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

Operator: do not patch the Subscription CRDs if the conversion webhooks are disabled #7154

Merged
merged 8 commits into from Nov 13, 2023

Conversation

ItalyPaleAle
Copy link
Contributor

When running the operator with ENABLE_WEBHOOKS=false, which disables listening for the conversion webhooks, the operator should not be patching the CRDs

…ks are disabled

When running the operator with `ENABLE_WEBHOOKS=false`, which disables listening for the conversion webhooks, the operator should not be patching the CRDs

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
@ItalyPaleAle ItalyPaleAle requested review from a team as code owners November 7, 2023 00:19
@daixiang0
Copy link
Member

Do we have a test to cover this case?

@ItalyPaleAle
Copy link
Contributor Author

Do we have a test to cover this case?

We do not, and we do not have the infrastructure for creating tests for this (we do not have the ability to test different Helm options in our CI, for example)

@ItalyPaleAle ItalyPaleAle added the autoupdate DaprBot will keep the Pull Request up to date with master branch label Nov 7, 2023
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (6bf645f) 65.07% compared to head (c276c67) 64.95%.
Report is 1 commits behind head on master.

❗ Current head c276c67 differs from pull request most recent head 7f67bb6. Consider uploading reports for the commit 7f67bb6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7154      +/-   ##
==========================================
- Coverage   65.07%   64.95%   -0.13%     
==========================================
  Files         221      221              
  Lines       20798    20803       +5     
==========================================
- Hits        13534    13512      -22     
- Misses       6125     6147      +22     
- Partials     1139     1144       +5     
Files Coverage Δ
pkg/operator/operator.go 0.00% <0.00%> (ø)

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yaron2 yaron2 merged commit 5f189af into dapr:master Nov 13, 2023
18 of 20 checks passed
@ItalyPaleAle ItalyPaleAle added this to the v1.13 milestone Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoupdate DaprBot will keep the Pull Request up to date with master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants