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

viz: Prohibit authority resource targets in stat commands #13578

Merged
merged 5 commits into from
Jan 23, 2025

Conversation

zaharidichev
Copy link
Member

@zaharidichev zaharidichev commented Jan 20, 2025

There are plans to remove the authority label in inbound proxy metrics. When that happens we would not longer be able to use the viz stat/top commands to query by authority. This is a change to disable being able to invoke these commands with an authority resource target.

Signed-off-by: Zahari Dichev zaharidichev@gmail.com

…outbound

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
@zaharidichev zaharidichev requested a review from a team as a code owner January 20, 2025 11:35
@zaharidichev zaharidichev changed the title make authority an invalid resource target for stat/stat-inbound/stat-… viz: Prohibit authority resource targets in stat commands Jan 20, 2025
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we don't suppport authorities as a resource in any CLI commands, can we just remove authority from the list of resources in pkg/k8s/k8s.go ? that way it should stop being a supported resource without needing to special case it.

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
@zaharidichev zaharidichev requested a review from adleong January 22, 2025 15:13
Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup

@zaharidichev zaharidichev merged commit 31a5806 into main Jan 23, 2025
39 checks passed
@zaharidichev zaharidichev deleted the zd/no-authority branch January 23, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants