Skip to content

Add an optional way to pass additional labels and annotations to pods as well #2480

@fgiorgetti

Description

@fgiorgetti

Is your feature request related to a problem? Please describe.
Today when a configmap is labeled with skupper.io/label-template: "", the controller will get all of its labels and annotations and pass them along to its owned resources, like, Deployment, Services, ConfigMaps.

But the Deployment's pod(s) do not get annotated/labeled (possibly to avoid a router restart).

We could evaluate an optional way to tell the Controller to pass the labels/annotations to the Deployment's pod(s) as well.

Describe the solution you'd like

As an example, an extra label could be added to signal that pods should also be annotated? Or eventually depending on the value set to skupper.io/label-template?

Not sure what the best approach is, but we could experiment something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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