Skip to content

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

Open
@pmalek

Description

@pmalek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions