k8s-manifests/rds/base/charts/jaeger/templates/collector-configmap.yaml

15 lines
383 B
YAML

{{- if .Values.collector.samplingConfig }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "jaeger.fullname" . }}-sampling-strategies
namespace: {{ .Release.Namespace }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: collector
data:
strategies.json: |-
{{ tpl .Values.collector.samplingConfig . | indent 4 }}
{{- end }}