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

kubeconfig-default-ttl-minutes setting takes numeric input only #6546

Merged
merged 2 commits into from
Jul 29, 2022

Conversation

catherineluse
Copy link
Contributor

@catherineluse catherineluse commented Jul 28, 2022

This PR fixes #6530 by specifying a kind: 'integer' for the kubeconfig-default-ttl-minutes setting.

That kind was not something you could select already, so I added a numeric-only input to the setting edit page.

Note: The backend wants the number to be formatted as a string, so I cast the number to a string when adding it to the form values.

This is not the only setting that should accept numeric input only, but fixing all the numeric settings seemed like it should be outside the scope of 2.6.7, so I opened a new issue to track that here: #6547

@nwmac nwmac added this to the v2.6.7 milestone Jul 29, 2022
@catherineluse catherineluse merged commit c9f7859 into rancher:master Jul 29, 2022
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.

kubeconfig-default-ttl-minutes setting should be made to accept only integer values
3 participants