Skip to content

CLI flag and password prompt improvements #769

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

Conversation

ajp-io
Copy link
Member

@ajp-io ajp-io commented Jul 10, 2024

  • Adds --admin-console-password flag to install
  • Alphabetizes CLI flags in help menus
  • Updates descriptions for some CLI flags
  • Updates wording for password prompt to make it clear you're setting the Admin Console password

Copy link

github-actions bot commented Jul 10, 2024

This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID.

Online Installer:

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/appver-dev-0f05cce" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Airgap Installer (may take a few minutes before the airgap bundle is built):

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci-airgap/appver-dev-0f05cce?airgap=true" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Happy debugging!

@ajp-io ajp-io force-pushed the alexparker/sc-104449/make-it-clear-you-re-setting-the-admin-console branch from b2ab104 to 4405010 Compare July 11, 2024 13:32
@ajp-io ajp-io force-pushed the alexparker/sc-104449/make-it-clear-you-re-setting-the-admin-console branch from 4405010 to 6f41736 Compare July 11, 2024 13:33
@ajp-io ajp-io changed the title Make it clear you're setting the Admin Console password CLI flag improvements Jul 11, 2024
@ajp-io ajp-io changed the title CLI flag improvements CLI flag and password prompt improvements Jul 11, 2024
@ajp-io ajp-io marked this pull request as ready for review July 11, 2024 18:01
Name: "no-prompt",
Usage: "Disable interactive prompts. The Admin Console password will be set to password.",
Value: false,
},
&cli.StringFlag{
Name: "no-proxy",
Copy link
Member

Choose a reason for hiding this comment

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

should this flag be right below the http-proxy and https-proxy flags?

Copy link
Member Author

Choose a reason for hiding this comment

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

I considered grouping those together but did it alphabetically, which seems fairly standard.

@ajp-io ajp-io merged commit 16fc625 into main Jul 11, 2024
40 checks passed
@ajp-io ajp-io deleted the alexparker/sc-104449/make-it-clear-you-re-setting-the-admin-console branch July 11, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants