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

Backport of Refactor proxy list command, ensuring api-gateway Pods are included into release/1.1.x #4427

Conversation

hc-github-team-consul-core
Copy link
Collaborator

@hc-github-team-consul-core hc-github-team-consul-core commented Nov 18, 2024

Backport

This PR is auto-generated from #4426 to be assessed for backporting due to the inclusion of the label backport/1.1.x.

The below text is copied from the body of the original PR.


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


Overview of commits

Copy link

hashicorp-cla-app bot commented Nov 18, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes


temp seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA.
If you have already a GitHub account, please add the email address used for this commit to your account.

Have you signed the CLA already but the status is still pending? Recheck it.

@nathancoleman nathancoleman requested review from sarahalsmiller and removed request for nathancoleman November 19, 2024 17:30
@nathancoleman nathancoleman marked this pull request as ready for review November 19, 2024 17:30
…#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 nathancoleman force-pushed the backport/fix-list-proxies-api-gateway/strongly-included-bluebird branch from d4a9fe1 to 1aa8ea8 Compare November 19, 2024 17:48
@nathancoleman nathancoleman enabled auto-merge (squash) November 19, 2024 18:48
@nathancoleman nathancoleman merged commit dfad5b8 into release/1.1.x Nov 19, 2024
47 of 48 checks passed
@nathancoleman nathancoleman deleted the backport/fix-list-proxies-api-gateway/strongly-included-bluebird branch November 19, 2024 18:56
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.

3 participants