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

command line get Applications extend wide output #18226

Open
absynth76 opened this issue May 15, 2024 · 1 comment
Open

command line get Applications extend wide output #18226

absynth76 opened this issue May 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@absynth76
Copy link

Summary

a kube client cli like kubectl get Applications -o wide should contain at least he project the Application belongs to

Motivation

Simple logic. Could be used when implementing rbac for examples, filter/group according to output, etc.

Proposal

Extend the output when wide modifier is used to display Application?
I guess adding the necessary to the displayed parameters

// +kubebuilder:printcolumn:name="Project",type=string,JSONPath=`.spec.project`,priority=10

on https://github.com/argoproj/argo-cd/blob/master/pkg/apis/application/v1alpha1/types.go
would be sufficient

@absynth76 absynth76 added the enhancement New feature or request label May 15, 2024
@nikzayn
Copy link
Contributor

nikzayn commented May 16, 2024

@absynth76 I would like to take this up.

/assign

nikzayn added a commit to nikzayn/argo-cd that referenced this issue May 16, 2024
nikzayn added a commit to nikzayn/argo-cd that referenced this issue May 17, 2024
Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com>
ishitasequeira added a commit that referenced this issue May 23, 2024
…#18253)

* feat: Added the comment to support CLI message to get extended output #18226

Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com>

* feat: Updated proto and swagger #18226

Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com>

* feat: Updated manifest files

Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com>

---------

Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com>
Co-authored-by: pasha-codefresh <pavel@codefresh.io>
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants