Skip to content

"pki issue" command should create argocd-agent-ca #599

@gnunn1

Description

@gnunn1

Is your feature request related to a problem? Please describe.

When you execute the command argocd-agentctl pki issue agent it only creates the argocd-agent-principal-tls and not the argocd-agent-ca secret, for the latter you have to execute a propagate command seperately. Since the Argo Agent requires the argocd-agent-ca secret it would make sense for the pki issue command to create argocd-agent-ca automatically and eliminate the need for the propagate step.

If this change is made it should respect the --upsert switch for both secrets.

Describe the solution you'd like
The pki issue agent command automatically performs a propagate as well when the argocd-agent-ca doesn't exist.

Describe alternatives you've considered

None

Additional context

This is intended to simplify the process of creating an agent when using the argocd-agentctl CLI to eliminate a step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions