diff --git a/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl b/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl index 2078350b0d..0b97510f55 100644 --- a/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl +++ b/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl @@ -231,6 +231,7 @@ receivers: extra_metadata_labels: - container.id # - k8s.volume.type + insecure_skip_verify: {{ .Values.splunkObservability.insecureSkipVerify }} signalfx: endpoint: 0.0.0.0:9943 diff --git a/helm-charts/splunk-otel-collector/values.schema.json b/helm-charts/splunk-otel-collector/values.schema.json index a78ccc2278..88e9aedf79 100644 --- a/helm-charts/splunk-otel-collector/values.schema.json +++ b/helm-charts/splunk-otel-collector/values.schema.json @@ -212,6 +212,10 @@ "infrastructureMonitoringEventsEnabled": { "description": "Send Kubernetes events to Splunk Observability Infrastructure Monitoring", "type": "boolean" + }, + "insecureSkipVerify": { + "description": "Skip Verification of SSL certificate", + "type": "boolean" } }, "anyOf": [ diff --git a/helm-charts/splunk-otel-collector/values.yaml b/helm-charts/splunk-otel-collector/values.yaml index 1a6b8ba5e9..d40b6e37a8 100644 --- a/helm-charts/splunk-otel-collector/values.yaml +++ b/helm-charts/splunk-otel-collector/values.yaml @@ -162,6 +162,9 @@ splunkObservability: # If you don't use AlwaysOn Profiling for Splunk APM, you can disable it. profilingEnabled: false + # Whether to skip checking the certificate of the K8s endpoint. + insecureSkipVerify: false + ################################################################################ # Logs collection engine: # - `fluentd`: deploy a fluentd sidecar that will collect logs and send them to