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

Major.minor versions that end with 0 like 1.30 are truncated like floats #88

Open
pmalek opened this issue Jul 29, 2024 · 0 comments
Open

Comments

@pmalek
Copy link

pmalek commented Jul 29, 2024

Problem statement

When a version that ends with 0 like 1.30 is used in the config e.g.

render:
  kubernetesVersion: 1.30

then it will be truncated like a float number, i.e. 1.3.

Workaround

Use quotation marks:

render:
  kubernetesVersion: "1.30"

Proposed solution

Handle this inside crd-ref-docs so that users are not surprised.

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

No branches or pull requests

1 participant