Skip to content

Commit

Permalink
feat(opentelemetry-collector): use Kubernetes recommended label for c…
Browse files Browse the repository at this point in the history
…omponent

Signed-off-by: Nicolas Lamirault <[email protected]>
  • Loading branch information
nlamirault committed Oct 23, 2024
1 parent b8406fc commit 425bbfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/opentelemetry-collector/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Get component name
*/}}
{{- define "opentelemetry-collector.component" -}}
{{- if eq .Values.mode "deployment" -}}
component: standalone-collector
app.kubernetes.io/component: standalone-collector
{{- end -}}
{{- if eq .Values.mode "daemonset" -}}
component: agent-collector
app.kubernetes.io/component: agent-collector
{{- end -}}
{{- if eq .Values.mode "statefulset" -}}
component: statefulset-collector
app.kubernetes.io/component: statefulset-collector
{{- end -}}
{{- end }}

Expand Down

0 comments on commit 425bbfd

Please sign in to comment.