configmap-agent.yaml 461 B

123456789101112
  1. {{- if and (eq .Values.mode "daemonset") (.Values.configMap.create) (not .Values.configMap.existingName) -}}
  2. apiVersion: v1
  3. kind: ConfigMap
  4. metadata:
  5. name: {{ include "opentelemetry-collector.fullname" . }}-agent
  6. namespace: {{ template "opentelemetry-collector.namespace" . }}
  7. labels:
  8. {{- include "opentelemetry-collector.labels" . | nindent 4 }}
  9. data:
  10. relay: |
  11. {{- include "opentelemetry-collector.daemonsetConfig" . | nindent 4 -}}
  12. {{- end }}