Skip to content

affinities.md prose uses NotExists operator; correct name is DoesNotExist #103

Description

In content/en/docs/how-tos/affinities.md, the prose description of affinity operators says:

NotExists: the cluster must not have the label key.

The valid operator name from metav1.LabelSelectorRequirement (which ClusterSelectorTerm.LabelSelector uses) is DoesNotExist, not NotExists. The YAML example on line 174 of the same file correctly uses operator: DoesNotExist, so the prose contradicts the code example and the upstream Kubernetes API.

Update the prose to use DoesNotExist consistently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions