Skip to content

Commit

Permalink
change service annotation template to support multiple annotations (o…
Browse files Browse the repository at this point in the history
…pen-telemetry#20)

* change service annotation template to support multiple annotations

Co-authored-by: Naseem <[email protected]>
  • Loading branch information
rabunkosar-dd and naseemkullah authored Nov 30, 2020
1 parent dd9453a commit f8c80ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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.2.0
version: 0.2.1
description: OpenTelemetry Collector Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
4 changes: 2 additions & 2 deletions charts/opentelemetry-collector/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
name: {{ include "opentelemetry-collector.fullname" . }}
labels:
{{- include "opentelemetry-collector.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml . | trim | indent 4 }}
{{ toYaml .Values.service.annotations | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
Expand Down

0 comments on commit f8c80ed

Please sign in to comment.