apiVersion: v1
data:
  jaeger-kusto-plugin-config.json: |-
    {
        "diagnosticsProfilingEnabled": false,
        "kustoConfigPath": "/config/jaeger-kusto-config.json",
        "tracingRPCMetrics": false,
        "logLevel": {{ .Values.baseConfig.logLevel | quote | default "info"}},
        "logJson": {{ default true .Values.baseConfig.logJson }},
        "remoteMode": {{ default true .Values.baseConfig.remoteMode }},
        "tracingSamplerPercentage":   {{ default 0.0 .Values.baseConfig.tracingSamplerPercentage }},
        "readNoTruncation": {{ default false .Values.baseConfig.readNoTruncation }},
        "readNoTimeout": {{ default false .Values.baseConfig.readNoTimeout }}
    }
kind: ConfigMap
metadata:
  annotations:
    use-subpath: "true"
  labels:
    io.service.name: kusto-jaeger-plugin
    app: {{ .Release.Name }}-app
  name: plugin-base-config
  namespace: {{ .Release.Namespace }}
