Skip to content

Commit

Permalink
Define configuration for headless service (open-telemetry#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurumoorthi89 authored Sep 24, 2021
1 parent ec90dd1 commit a326feb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/opentelemetry-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-collector
version: 0.5.10
version: 0.5.11
description: OpenTelemetry Collector Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
3 changes: 3 additions & 0 deletions charts/opentelemetry-collector/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- if .Values.service.clusterIP }}
clusterIP: {{ .Values.service.clusterIP }}
{{- end}}
ports:
{{- range $key, $port := .Values.ports }}
{{- if $port.enabled }}
Expand Down

0 comments on commit a326feb

Please sign in to comment.