Skip to content

Inconsistent labelSelector configuration #1123

Closed
@metacosm

Description

@metacosm

If the dependent is not annotated by KubernetesDependent, the label selector will be null. However, if it is annotated the label will be empty, not null. The issue is that Utils.valueOrDefault will return the provided default value if the annotation is not present but will use the default annotation value if the annotation is present.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions