-
Notifications
You must be signed in to change notification settings - Fork 50
Description
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.