Skip to content

Dapr deployed with ArgoCD mtls renew-certificate -k --restart #1484

Open
@jwhitcraft

Description

@jwhitcraft

Expected Behavior

We have moved to using GitOps to manage our deployments of system services, which means that ArgoCD is not creating a helm release. as it just does a helm template | kubectl apply -f .

Thus we should be able to use the dapr cli to run mtl renew-certificate and still have it restart everything we need.

Actual Behavior

It fails:

⌛  Starting certificate rotation
ℹ️  generating fresh certificates
ℹ️  Updating certifcates in your Kubernetes cluster
ℹ️  Dapr control plane version 1.14.4 detected in namespace dapr-system
❌  certificate rotation failed: could not find release name "dapr" in your helm releases

Steps to Reproduce the Problem

Create the yaml with helm template dapr dapr/dapr --set=global.ha.enabled=true | kubectl apply -f - and then try try and run the cli command to renew the cert.

Release Note

RELEASE NOTE:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions