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

Refactor proxy list command, ensuring api-gateway Pods are included #4426

Merged
merged 4 commits into from
Nov 18, 2024

Conversation

nathancoleman
Copy link
Member

@nathancoleman nathancoleman commented Nov 18, 2024

Changes proposed in this PR

  • API Gateways are now included in the proxy list command where they were not before due to a helm chart label that wasn't present. It doesn't make sense to include this label on created API gateways since they are not actually controlled by the helm chart.
  • Proxies are now output in deterministic order based on their proxy type, namespace and name

How I've tested this PR

Install an assortment of gateways and mesh-injected services, verify output matches (go run ./cli proxy list -all-namespaces, for example)

CleanShot 2024-11-18 at 13 26 22@2x

How I expect reviewers to test this PR

See above

Checklist

Proxies are also now output in deterministic order based on their proxy type, namespace and name
Copy link
Member

@sarahalsmiller sarahalsmiller left a comment

Choose a reason for hiding this comment

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

Good catch. Makes sense to me.

@nathancoleman nathancoleman added the backport/1.1.x Backport to release/1.1.x branch label Nov 18, 2024
@nathancoleman nathancoleman enabled auto-merge (squash) November 18, 2024 20:37
@nathancoleman nathancoleman merged commit acb1af8 into main Nov 18, 2024
53 of 54 checks passed
@nathancoleman nathancoleman deleted the fix-list-proxies-api-gateway branch November 18, 2024 22:59
nathancoleman added a commit that referenced this pull request Nov 19, 2024
…#4426)

* Refactor `proxy list` command, ensuring api-gateway Pods are included

Proxies are also now output in deterministic order based on their proxy type, namespace and name

* Stop printing non-JSON info to terminal when `-o json` is requested

* Update test assertions to expect sorted output

* Add changelog entry
nathancoleman pushed a commit that referenced this pull request Nov 19, 2024
…#4426)

* Refactor `proxy list` command, ensuring api-gateway Pods are included

Proxies are also now output in deterministic order based on their proxy type, namespace and name

* Stop printing non-JSON info to terminal when `-o json` is requested

* Update test assertions to expect sorted output

* Add changelog entry
nathancoleman pushed a commit that referenced this pull request Nov 19, 2024
…are included into release/1.1.x (#4427)

Refactor `proxy list` command, ensuring api-gateway Pods are included (#4426)

* Refactor `proxy list` command, ensuring api-gateway Pods are included

Proxies are also now output in deterministic order based on their proxy type, namespace and name

* Stop printing non-JSON info to terminal when `-o json` is requested

* Update test assertions to expect sorted output

* Add changelog entry

Co-authored-by: temp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli CLI backport/1.1.x Backport to release/1.1.x branch backport/1.4.x backport/1.5.x backport/1.6.x Changes are backported to 1.6
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants