Skip to content

Rework Quantity parsing #617

Description

@Techassi

Our custom Quantity parsing doesn't match K8s behavior completely. This issue tracks the improvement of our parsing. This might break tests.

Parsing spec: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/


This issue was raised after an internal arch meeting where the code style around resource specifications was discussed.

### Acceptance criteria
- [ ] tests are added that cover the current mismatch in parsing
- [ ] the parsing is fixed and in sync with k8s parsing
- [ ] quantity format document in the documentation is updated

See

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

release-note/action-requiredDenotes a PR that introduces potentially breaking changes that require user action.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions