Skip to content

Remove the "name" label requirement on StatefulSet's pods #15

@pracucci

Description

@pracucci

The rollout-operator currently requires that each pod controlled by a StatefulSet managed by rollout-operator has the name label and its value is the name of the StatefulSet controlling it:

mustNewLabelsRequirement("name", selection.Equals, []string{sts.Spec.Template.Labels["name"]}),

I think we can get rid of this requirement, looking for the StatefulSet controlling the pod in a different way. For example, when running kubectl describe pod ... it shows a "Controlled By" field with the name of the StatefulSet controlling it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions