Skip to content

Commit

Permalink
Move opentelemetry-collector.additionalLabels into opentelemetry-coll…
Browse files Browse the repository at this point in the history
…ector.labels
  • Loading branch information
brdotv2 committed Dec 9, 2024
1 parent 043b84f commit 9ec83cc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions charts/opentelemetry-collector/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ app.kubernetes.io/component: agent-collector
app.kubernetes.io/component: statefulset-collector
{{- end -}}
{{- if .Values.additionalLabels }}
{{ include "opentelemetry-collector.additionalLabels" . }}
{{ tpl (.Values.additionalLabels | toYaml) . }}
{{- end }}
{{- end }}

Expand Down Expand Up @@ -119,12 +119,6 @@ Create the name of the clusterRoleBinding to use
{{- end }}
{{- end }}

{{- define "opentelemetry-collector.additionalLabels" -}}
{{- if .Values.additionalLabels }}
{{- tpl (.Values.additionalLabels | toYaml) . }}
{{- end }}
{{- end }}

{{/*
Return the appropriate apiVersion for podDisruptionBudget.
*/}}
Expand Down

0 comments on commit 9ec83cc

Please sign in to comment.