evryfs / helm-charts

OpenSourced Helm charts
Apache License 2.0
49 stars 76 forks source link

[dependency-track] Support podAnnotations #241

Open Yaytay opened 1 year ago

Yaytay commented 1 year ago

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' :(