diff --git a/src/_nebari/upgrade.py b/src/_nebari/upgrade.py index acf08ef64..bcc08be0f 100644 --- a/src/_nebari/upgrade.py +++ b/src/_nebari/upgrade.py @@ -1256,7 +1256,7 @@ def _version_specific_upgrade( rich.print(text) confirm = Prompt.ask( - "[bold]Would you like Nebari to update your group permissions now?[/bold] (y/n)", + "[bold]Would you like Nebari to update your group permissions now?[/bold]", choices=["y", "N"], default="N", ) diff --git a/tests/tests_unit/test_upgrade.py b/tests/tests_unit/test_upgrade.py index a19095726..d328c74e9 100644 --- a/tests/tests_unit/test_upgrade.py +++ b/tests/tests_unit/test_upgrade.py @@ -67,6 +67,11 @@ def mock_input(prompt, **kwargs): == "Have you backed up your custom dashboards (if necessary), deleted the prometheus-node-exporter daemonset and updated the kube-prometheus-stack CRDs?" ): return "y" + elif ( + prompt + == "[bold]Would you like Nebari to update your group permissions now?[/bold]" + ): + return "N" # All other prompts will be answered with "y" else: return "y"