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

Commit

Permalink
Merge pull request #35 from aspecto-io/v0.91.0
Browse files Browse the repository at this point in the history
fix: remove config sources from receiver
  • Loading branch information
kobi-co authored Jan 3, 2024
2 parents 8127e39 + ebfa589 commit 677aedc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 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: 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

0 comments on commit 677aedc

Please sign in to comment.