Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

fix: remove config sources from receiver #35

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: aspecto-io-opentelemetry-collector
version: '1.5.5'
version: '1.5.6'
home: https://aspecto.io
type: application
description: helm chart of aspecto's opentelemetry tail sampling collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ metadata:
{{- if $localObjectAnnotations }}{{ toYaml $localObjectAnnotations | nindent 4 }}{{- end }}
data:
{{ .Values.receiver.specs.volumes.serviceConfig.fileName }}: |
config_sources:
aspecto:
token: ${token}
receivers:
otlp:
protocols:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,8 @@ spec:
mountPath: {{ .mountPath }}
readOnly: {{ .readOnly }}
{{- end }}

env:
{{- if or ( $root.Values.global.aspecto.token.secret.createNewSecret) ($root.Values.global.aspecto.token.secret.existingSecretName) }}
- name: token
valueFrom:
secretKeyRef:
name: {{ .Values.global.aspecto.token.secret.existingSecretName | default (printf "%s-token" .Values.global.name) }}
key: {{ .Values.global.aspecto.token.secret.keyName }}
{{ else }}
- name: token
value: {{ .Values.global.aspecto.token.value }}
{{- end }}
{{- if .Values.receiver.envs }}
env:
{{ toYaml .Values.receiver.envs | indent 10 }}
{{- end}}
{{- if .Values.receiver.envFrom }}
Expand Down
Loading