Skip to content

[dependency-track] Support podAnnotations #241

Description

@Yaytay

Currently there is no way to put annotations on pods.

Is your feature request related to a problem? Please describe.
We are trying to configure linkerd on all our pods and require annotations on pods to do so.

Describe the solution you'd like
The Bitnami chart for grafana-operator deployments has:

  template:
    metadata:
      labels: {{- include "common.labels.standard" . | nindent 8 }}
        {{- if .Values.operator.podLabels }}
        {{- include "common.tplvalues.render" (dict "value" .Values.operator.podLabels "context" $) | nindent 8 }}
        {{- end }}
      {{- if .Values.operator.podAnnotations }}
      annotations: {{- include "common.tplvalues.render" (dict "value" .Values.operator.podAnnotations "context" $) | nindent 8 }}
      {{- end }}

Given the use of the Bitnami common library by evryfs I think having the same would be good.

Describe alternatives you've considered
The only other way we've come up with is 'kubectl edit' :(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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