Skip to content

Add method(s) for unversioned labels #1063

Description

@adwk67

For listener-class integration, labels are owned by the listener-operator (if the operator is responsible for creating them).
e.g. the Airflow operator has:

    // Used for PVC templates that cannot be modified once they are deployed
    let unversioned_recommended_labels = Labels::recommended(build_recommended_labels(
        airflow,
        AIRFLOW_CONTROLLER_NAME,
        // A version value is required, and we do want to use the "recommended" format for the other desired labels
        "none",
        &rolegroup_ref.role,
        "none",
    ))
    .context(LabelBuildSnafu)?;

This should be moved to operator-rs.

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