Skip to content

[jaeger-operator] Custom labels for Jaeger Operator pods in the chart #130

Open

Description

It's great that Jaeger Operator supports custom labels for all-in-one and other pods: jaegertracing/jaeger-operator#445

What would also be useful is the ability to set a custom label on the Jaeger Operator pods while using the standard chart. My organization uses labels to associate standardized network policies (e.g. API server access, DNS access) with pods. Jaeger Operator requires API server access to function. Without the ability to set one of our existing labels on its pods, we have to create a custom network policy to grant it this access rather than use our existing API server access network policy. This complicates compliance.

For example, it would be good to be able to specify a custom label like this:

jaeger-operator:
  labels:
    api-server-access: "true"
  jaeger:
    ...

And then have it show up on the Jaeger Operator pod:

$ kubectl get pod -oyaml jaeger-operator-555-555 | grep labels -A2
  labels:
    api-server-access: "true"
    app.kubernetes.io/name: jaeger-operator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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