-
Notifications
You must be signed in to change notification settings - Fork 3
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
handle token id and secret in case of pure integer values #341
Comments
In case the token id or secret for the pre-gardenlet chart is a pure integer number, the deployment of the gardenlet fails. |
Moreover, the secret id has to be 6 characters long and the length of the secret has to be 16 characters. |
Isn't it solved by #202: export TOKEN_ID=ab$(openssl rand -hex 2)
export TOKEN_SECRET=cd$(openssl rand -hex 7) The ab/cd prefix prevents pure int numbers |
That prevents it in the ci scripts. However, in "real" environments that does not prevent the user to use a pure integer token. |
A solution could be to limit the values file like I did here: gardener-community/pre-gardenlet@242326a With a json-schema (https://json-schema.org/draft/2020-12/json-schema-validation.html) you can validate value files |
No description provided.
The text was updated successfully, but these errors were encountered: