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

CLI picking up Knative configuration CRD #1485

Closed
alicejgibbons opened this issue Feb 14, 2025 · 1 comment
Closed

CLI picking up Knative configuration CRD #1485

alicejgibbons opened this issue Feb 14, 2025 · 1 comment
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@alicejgibbons
Copy link

Expected Behavior

Certificate rotation to work via the CLI and renew the mtls cert with knative also installed.

Actual Behavior

CLI incorrectly picking up configurations.serving.knative.dev as well as Dapr config resources when doing cert rotation.

dapr mtls renew-certificate -k --valid-until 365 --restart

⌛ Starting certificate rotation
ℹ️ generating fresh certificates
❌ certificate rotation failed: Error from server (NotFound): [configurations.serving.knative.dev](https://configurations.serving.knative.dev/) "daprsystem" not found
k api-resources | grep configurations
configurations      dapr.io/v1alpha1 true Configuration
configurations      config,cfg serving.knative.dev/v1

Steps to Reproduce the Problem

Add a knative configuration resource, and try dapr mtls renew-certificate -k --valid-until 365 --restart

Release Note

RELEASE NOTE: FIX CLI picking up KNative CRDs.

@alicejgibbons alicejgibbons added the kind/bug Something isn't working label Feb 14, 2025
@msfussell msfussell added this to the v1.15 milestone Feb 14, 2025
@antontroshin
Copy link
Contributor

/assign

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

No branches or pull requests

3 participants