Skip to content

Interactive cli produces non-interactive command that doesn't work with bindOnFirstCustomer storageClass #1605

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

Open
IanBoden opened this issue May 20, 2025 · 0 comments · May be fixed by #1609
Labels
Bug Report Something isn't working

Comments

@IanBoden
Copy link
Contributor

MAS CLI version

13.23.0

CLI function used

install

What happened?

The interactive cli outputs a non-interactive command, after that it asks if it should wait for PVCs to bind (if the storage class has the volumeBindingMode as bindOnFirstCustomer you must answer no to the question).

If the customer needs to rerun the command they are meant to be able to run the non-interactive command displayed. However, that includes the --no-confirm option which skips the wait for PVCs to bind question. As such the install will hang.

Proposed change is:
Ask wait for PVCs
if yes output non-interactive command same as currently with --no-confirm
if no still output --no-confirm but also add new argument --dont-wait-for-pvcs
Change the logic in the non-interactive command that if no-confirm is set check if dont-wait-for-pvcs is set

Relevant log output

n/a
@IanBoden IanBoden added the Bug Report Something isn't working label May 20, 2025
@IanBoden IanBoden linked a pull request May 23, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant