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 daprsystem configuration retrieval when renewing certificates #1486

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

antontroshin
Copy link
Contributor

Description

The issue found when similar resource were installed in k8s that use the name "configurations". In this case the knative's "configurations.serving.knative.dev/v1" was the last in the list and the command returned the error Error from server (NotFound): configurations.serving.knative.dev "daprsystem" not found

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1485

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

The issue found when similar resource were installed in k8s that use the name "configurations".
In this case the knative's "configurations.serving.knative.dev/v1" was the last in the list and the command returned the error
`Error from server (NotFound): configurations.serving.knative.dev "daprsystem" not found`

Signed-off-by: Anton Troshin <anton@diagrid.io>
@antontroshin antontroshin requested review from a team as code owners February 14, 2025 22:08
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (release-1.15@ac6822e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pkg/kubernetes/configuration.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##             release-1.15    #1486   +/-   ##
===============================================
  Coverage                ?   21.34%           
===============================================
  Files                   ?       44           
  Lines                   ?     5149           
  Branches                ?        0           
===============================================
  Hits                    ?     1099           
  Misses                  ?     3966           
  Partials                ?       84           

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

@yaron2 yaron2 merged commit a968b18 into dapr:release-1.15 Feb 15, 2025
27 of 28 checks passed
@antontroshin antontroshin deleted the fix-daprsystem-config-fetch branch February 15, 2025 01:58
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.

2 participants