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

Restore cli default cloud and allow opting into interactive selection #1991

Merged

Conversation

ddelnano
Copy link
Member

Summary: Restore cli default cloud and allow opting into interactive selection

We've received feedback from users that is confusing to no longer have a default cloud for the pixie cli. This change restores the previous behavior and picks the alphabetically first option as the default (per CNCF requirements). Users can pick from the available clouds through the new --interactive_cloud_select flag.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: Verified the following scenarios

  • px get viziers uses default cloud
  • px get --interactive_cloud_select viziers lists the available clouds and uses the selected valueq
$ ./px --interactive_cloud_select get viziers
Pixie CLI
✔ withpixie.ai:443
Failed to authenticate. Please retry `px auth login`.

@ddelnano ddelnano requested a review from a team as a code owner August 23, 2024 20:50
@aimichelle aimichelle merged commit 33f0daf into pixie-io:main Aug 26, 2024
21 checks passed
@ddelnano ddelnano deleted the ddelnano/restore-cli-default-behavior branch August 26, 2024 16:51
ddelnano added a commit to ddelnano/pixie that referenced this pull request Sep 23, 2024
…pixie-io#1991)

Summary: Restore cli default cloud and allow opting into interactive
selection

We've received feedback from users that is confusing to no longer have a
default cloud for the pixie cli. This change restores the previous
behavior and picks the alphabetically first option as the default (per
[CNCF
requirements](https://github.com/cncf/foundation/blob/42bc2197cce2f58b31eae5f5067f0fd04ab73482/website-guidelines.md)).
Users can pick from the available clouds through the new
`--interactive_cloud_select` flag.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: Verified the following scenarios
- [x] `px get viziers` uses default cloud
- [x] `px get --interactive_cloud_select viziers` lists the available
clouds and uses the selected valueq
```
$ ./px --interactive_cloud_select get viziers
Pixie CLI
✔ withpixie.ai:443
Failed to authenticate. Please retry `px auth login`.
```

Signed-off-by: Dom Del Nano <[email protected]>
GitOrigin-RevId: 33f0daf
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