Skip to content

V1PodReadinessGate().conditionType only accepts preset enums in v15.0.0 #2192

@abelsromero

Description

@abelsromero

Describe the bug
conditionType has been changed to enum V1PodReadinessGate.ConditionTypeEnum in v15.0.0 which prevents from using custom checks.
In previous versions it was a String which allowed to set the name of the check directly, without it anyone using a custom readiness check is forced to stay on v14.x.

Client Version
v15.0.0

Kubernetes Version
e.g. 1.19.3

Java Version
Java 11

To Reproduce
This is no longer valid.

new V1PodReadinessGate()
.conditionType("MyGate")

Expected behavior
An alternative to be able custom gates should be provided, maybe using something different than an enum or having another setter method.

KubeConfig
n/a

Server (please complete the following information):
n/a

Additional context
n/a

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