Skip to content

Commit

Permalink
make int64 in destination
Browse files Browse the repository at this point in the history
  • Loading branch information
jinja2 committed Jan 24, 2024
1 parent fc99071 commit efb6fe2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm-charts/splunk-otel-collector/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit efb6fe2

Please sign in to comment.