-
Notifications
You must be signed in to change notification settings - Fork 6.3k
docs: Adding Argo CD CLI plugin support proposal #19624
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
docs: Adding Argo CD CLI plugin support proposal #19624
Conversation
Signed-off-by: Christian Hernandez <christian@chernand.io>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
|
||
Things to consider: | ||
|
||
* Should it act exactly like `kubectl` and just look in `$PATH` or be more stringent and have users store plugins in `~/.config/argocd/plugins`? Similar to [Tekton plugins](https://tekton.dev/vault/cli-main/tkn-plugins/#location) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO it should do the latter (have users store plugins in ~/.config/argocd/plugins
)
|
||
* Should it act exactly like `kubectl` and just look in `$PATH` or be more stringent and have users store plugins in `~/.config/argocd/plugins`? Similar to [Tekton plugins](https://tekton.dev/vault/cli-main/tkn-plugins/#location) | ||
* Is there a way to integrate this with [Krew](https://krew.sigs.k8s.io/) for installing plugins? | ||
* Should we let each plugin manage its own configuration settings or make plugins use `~/.config/argocd/config` and provide a new field called `.pluginConfigs`? For example the `argocd-mytool` plugin's config will be under `.pluginConfigs.mytool` Should we even care/have an opinion? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you provide examples of configuration settings that would be required by a plugin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @christianh814 ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't think of one. Was thinking for about "in the future". Probably not needed for a first draft
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is probably ready to start work.
We are already working on this. |
@nitishfy @christianh814 does this docs PR need updating, to reflect the status of the PR in #20074? |
I don't think so. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Christian Hernandez <christian@chernand.io> Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com>
Signed-off-by: Christian Hernandez <christian@chernand.io> Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com> Signed-off-by: kingbj0429 <kingbj0429@lunit.io>
Signed-off-by: Christian Hernandez <christian@chernand.io> Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com> Signed-off-by: Hapshanko <adamgaming391100@gmail.com>
Enhancement Proposal to add support for plugins for the
argocd
CLI, similar tokubectl
.cc: @nitishfy @alexmt
Checklist: