argo-cd icon indicating copy to clipboard operation
argo-cd copied to clipboard

command line get Applications extend wide output

Open absynth76 opened this issue 9 months ago • 1 comments

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 avatar May 15 '24 07:05 absynth76