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

Disable terminal scheduling on non-managed seeds in the dashboard #2170

Open
petersutter opened this issue Nov 6, 2024 · 1 comment
Open
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension

Comments

@petersutter
Copy link
Member

What would you like to be added:
The dashboard should disable or hide the option to schedule a terminal on a Seed if it is not a managed seed. The frontend should detect whether a Seed is managed and adjust the available options accordingly.

Why is this needed:
Currently, users may encounter the error "terminal cannot be hosted on non-managed seed" (introduced with #2169) when trying to schedule a terminal on an unmanaged Seed. Disabling or hiding this option upfront would prevent this error and improve the user experience.

@petersutter petersutter added component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension labels Nov 6, 2024
@petersutter
Copy link
Member Author

The canLinkToSeed indicator could be used to determine if a seed is managed, but this should be considered a workaround.

data.canLinkToSeed = !!(await client['core.gardener.cloud'].shoots.get('garden', seed.metadata.name))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension
Projects
None yet
Development

No branches or pull requests

1 participant