Skip to content

Octal numbers in Yaml deserialized as decimal numbers #500

Closed
@morfj

Description

@morfj

V1ConfigMapVolumeSource -> DefaultMode requires an integer and its quite common in YAML files that this is written as an octal number (e.g.: 0777). It seems however that the parser is interpreting it as a decimal number. Serializing it back into a YAML string sets the property to 777 which gets rejected by the cluster's validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions