diff --git a/helm-charts/splunk-otel-collector/templates/daemonset.yaml b/helm-charts/splunk-otel-collector/templates/daemonset.yaml index e44c4908bd..d0249b3943 100644 --- a/helm-charts/splunk-otel-collector/templates/daemonset.yaml +++ b/helm-charts/splunk-otel-collector/templates/daemonset.yaml @@ -274,7 +274,7 @@ spec: {{- end }} env: - name: SPLUNK_MEMORY_TOTAL_MIB - value: "{{ include "splunk-otel-collector.convertMemToMib" $agent.resources.limits.memory }}" + value: "{{ include "splunk-otel-collector.convertMemToMib" $agent.resources.limits.memory | int64 }}" - name: K8S_NODE_NAME valueFrom: fieldRef: diff --git a/helm-charts/splunk-otel-collector/templates/deployment-cluster-receiver.yaml b/helm-charts/splunk-otel-collector/templates/deployment-cluster-receiver.yaml index 0e054446e8..fe0f5140b5 100644 --- a/helm-charts/splunk-otel-collector/templates/deployment-cluster-receiver.yaml +++ b/helm-charts/splunk-otel-collector/templates/deployment-cluster-receiver.yaml @@ -127,7 +127,7 @@ spec: imagePullPolicy: {{ .Values.image.otelcol.pullPolicy }} env: - name: SPLUNK_MEMORY_TOTAL_MIB - value: "{{ include "splunk-otel-collector.convertMemToMib" $clusterReceiver.resources.limits.memory }}" + value: "{{ include "splunk-otel-collector.convertMemToMib" $clusterReceiver.resources.limits.memory | int64 }}" - name: K8S_NODE_NAME valueFrom: fieldRef: diff --git a/helm-charts/splunk-otel-collector/templates/deployment-gateway.yaml b/helm-charts/splunk-otel-collector/templates/deployment-gateway.yaml index a7f970431c..0a7aeed60b 100644 --- a/helm-charts/splunk-otel-collector/templates/deployment-gateway.yaml +++ b/helm-charts/splunk-otel-collector/templates/deployment-gateway.yaml @@ -80,7 +80,7 @@ spec: imagePullPolicy: {{ .Values.image.otelcol.pullPolicy }} env: - name: SPLUNK_MEMORY_TOTAL_MIB - value: "{{ include "splunk-otel-collector.convertMemToMib" $gateway.resources.limits.memory }}" + value: "{{ include "splunk-otel-collector.convertMemToMib" $gateway.resources.limits.memory | int64 }}" - name: K8S_NODE_NAME valueFrom: fieldRef: