-
Notifications
You must be signed in to change notification settings - Fork 367
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
Implement sort-by
flag in more antctl resources for more fields
#1605
Comments
Will take this |
Thansk @saramach, I assigned this to you! |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment, or this will be closed in 180 days |
@saramach are you still working on this, or should I clear the Assignees field for this issue? |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days |
@saramach No update from you so I'm removing you as an Assignee in case someone else wants to work on this |
@antoninbas As the issue states implementing sort-by flag in more resources and more feilds ,will take this issue to implement sort-by flag in generic form like kubectl sort-by flag |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days |
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days |
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(UID), appliedtogroup(UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(creationTimestamp, Name, UID), appliedtogroup(creationTimestamp, Name, UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(creationTimestamp, Name, UID), appliedtogroup(creationTimestamp, Name, UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy(creationTimestamp, Name, UID), addressgroup(creationTimestamp, Name, UID), appliedtogroup(creationTimestamp, Name, UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy(creationTimestamp, Name, UID, effectivePriority), addressgroup(creationTimestamp, Name, UID), appliedtogroup(creationTimestamp, Name, UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy(creationTimestamp, Name, UID, effectivePriority), addressgroup(creationTimestamp, Name, UID), appliedtogroup(creationTimestamp, Name, UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy(creationTimestamp, Name, UID, effectivePriority), addressgroup(creationTimestamp, Name, UID), appliedtogroup(creationTimestamp, Name, UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy(creationTimestamp, Name, UID, effectivePriority), addressgroup(creationTimestamp, Name, UID), appliedtogroup(creationTimestamp, Name, UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy(creationTimestamp, Name, UID, effectivePriority), addressgroup(creationTimestamp, Name, UID), appliedtogroup(creationTimestamp, Name, UID). Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes antrea-io#1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
Fixes #1605. Added sort-by flag for networkpolicy, addressgroup, and appliedtogroup resource. Signed-off-by: Pulkit Jain <jainpu@vmware.com>
PR #1530 introduced the
sort-by
flag to the NetworkPolicy resource forantctl get
command. Currently the only supported value for this flag iseffectivePriority
, which is computed based on the Tier priority and policy priority of each NetworkPolicy.As pointed out in #1530 (comment), since sorting is implemented on the client side through the transform defined for each resource, we can support
sort-by
for an arbitrary field of the resource, or in other resources that antctl can query (e.g. appliedToGroups and addressGroups).The text was updated successfully, but these errors were encountered: