Skip to content

Commit

Permalink
Receiver TLS blocks are blocks, not attributes (#738)
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall authored Sep 18, 2024
1 parent 2ad3313 commit 0e490bd
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ otelcol.receiver.jaeger "receiver" {
{{- end }}
}
{{- if .Values.receivers.jaeger.tls }}
tls = {
tls {
{{- range $k, $v := .Values.receivers.jaeger.tls }}
{{ $k }} = {{ $v | toJson }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ otelcol.receiver.otlp "receiver" {
grpc {
endpoint = "0.0.0.0:{{ $data.port | int }}"
{{- if .Values.receivers.grpc.tls }}
tls = {
tls {
{{- range $k, $v := .Values.receivers.grpc.tls }}
{{ $k }} = {{ $v | toJson }}
{{- end }}
Expand All @@ -22,9 +22,9 @@ otelcol.receiver.otlp "receiver" {
http {
endpoint = "0.0.0.0:{{ $data.port | int }}"
{{- if .Values.receivers.http.tls }}
tls = {
tls {
{{- range $k, $v := .Values.receivers.http.tls }}
{{ $k }} = {{ $v | toJson }}
{{ $k }} = {{ $v | quote }}
{{- end }}
}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ otelcol.receiver.zipkin "receiver" {
{{- include "checkforAlloyPort" $data }}
endpoint = "0.0.0.0:{{ $data.port | int }}"
{{- if .Values.receivers.zipkin.tls }}
tls = {
tls {
{{- range $k, $v := .Values.receivers.zipkin.tls }}
{{ $k }} = {{ $v | toJson }},
{{ $k }} = {{ $v | quote }}
{{- end }}
}
{{- end }}
Expand Down
8 changes: 4 additions & 4 deletions examples/traces-enabled/metrics.alloy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions examples/traces-enabled/output.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e490bd

Please sign in to comment.