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

Update certificate fails with dapr installed with custom helm #1113

Closed
saber-wang opened this issue Oct 20, 2022 · 4 comments · Fixed by #1116
Closed

Update certificate fails with dapr installed with custom helm #1113

saber-wang opened this issue Oct 20, 2022 · 4 comments · Fixed by #1116
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@saber-wang
Copy link

command:dapr mtls renew-certificate -k --valid-until 9999 --restart
error:

ℹ️  generating fresh certificates
ℹ️  Updating certifcates in your Kubernetes cluster
ℹ️  Dapr control plane version 8000/dapr/dapr:1.8.0 detected in namespace dapr-system
❌  certificate rotation failed: chart "dapr" version "8000/dapr/dapr:1.8.0" not found in https://dapr.github.io/helm-charts repository
@saber-wang saber-wang added the kind/bug Something isn't working label Oct 20, 2022
@pravinpushkar
Copy link
Contributor

@saber-wang From the above logs, it looks like there is some issue in getting the current version of control plane. See this - version 8000/dapr/dapr:1.8.0 detected .
If this is the case then can you please try with the above linked PR and see if this works for you using a local build.
It looks like cert rotation command should work OOB once this version issue is resolved.

Meanwhile certificate rotation can also be done manually by following the docs here - https://docs.dapr.io/operations/security/mtls/#custom-certificates-bring-your-own

@pravinpushkar
Copy link
Contributor

@saber-wang Did you get a chance to verify with above linked PR ?

@saber-wang
Copy link
Author

@pravinpushkar I didn't try, but RP can solve this problem.

@pravinpushkar
Copy link
Contributor

@saber-wang PR is now updated, feel free to test/review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants