diff --git a/deployment/helm/balloons/templates/daemonset.yaml b/deployment/helm/balloons/templates/daemonset.yaml index e9998613d..a2f975ba8 100644 --- a/deployment/helm/balloons/templates/daemonset.yaml +++ b/deployment/helm/balloons/templates/daemonset.yaml @@ -55,7 +55,7 @@ spec: - -metrics-interval - 5s - --nri-plugin-index - - "{{ printf "%02d" .Values.nri.pluginIndex }}" + - "{{ printf "%02.0f" .Values.nri.pluginIndex }}" {{- if .Values.configGroupLabel }} - --config-group-label - {{ .Values.configGroupLabel }} diff --git a/deployment/helm/memory-qos/templates/daemonset.yaml b/deployment/helm/memory-qos/templates/daemonset.yaml index 943ace1ca..fba2cff19 100644 --- a/deployment/helm/memory-qos/templates/daemonset.yaml +++ b/deployment/helm/memory-qos/templates/daemonset.yaml @@ -47,7 +47,7 @@ spec: command: - nri-memory-qos - --idx - - "{{ printf "%02d" .Values.nri.pluginIndex }}" + - "{{ printf "%02.0f" .Values.nri.pluginIndex }}" - --config - /etc/nri/memory-qos/config.yaml - -v diff --git a/deployment/helm/memtierd/templates/daemonset.yaml b/deployment/helm/memtierd/templates/daemonset.yaml index 1ec35031b..9f19cf727 100644 --- a/deployment/helm/memtierd/templates/daemonset.yaml +++ b/deployment/helm/memtierd/templates/daemonset.yaml @@ -48,7 +48,7 @@ spec: command: - nri-memtierd - --idx - - "{{ printf "%02d" .Values.nri.pluginIndex }}" + - "{{ printf "%02.0f" .Values.nri.pluginIndex }}" - --config - /etc/nri/memtierd/config.yaml {{- if .Values.outputDir }} diff --git a/deployment/helm/sgx-epc/templates/daemonset.yaml b/deployment/helm/sgx-epc/templates/daemonset.yaml index 15bae5452..3d81785a3 100644 --- a/deployment/helm/sgx-epc/templates/daemonset.yaml +++ b/deployment/helm/sgx-epc/templates/daemonset.yaml @@ -48,7 +48,7 @@ spec: command: - nri-sgx-epc - --idx - - "{{ printf "%02d" .Values.nri.pluginIndex }}" + - "{{ printf "%02.0f" .Values.nri.pluginIndex }}" image: {{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }} imagePullPolicy: {{ .Values.image.pullPolicy }} resources: diff --git a/deployment/helm/template/templates/daemonset.yaml b/deployment/helm/template/templates/daemonset.yaml index 0fa9b9dc3..b0a4727a4 100644 --- a/deployment/helm/template/templates/daemonset.yaml +++ b/deployment/helm/template/templates/daemonset.yaml @@ -48,7 +48,7 @@ spec: - -metrics-interval - 5s - --nri-plugin-index - - "{{ printf "%02d" .Values.nri.pluginIndex }}" + - "{{ printf "%02.0f" .Values.nri.pluginIndex }}" {{- if .Values.configGroupLabel }} - --config-group-label - {{ .Values.configGroupLabel }} diff --git a/deployment/helm/topology-aware/templates/daemonset.yaml b/deployment/helm/topology-aware/templates/daemonset.yaml index be4de8c19..77b3b3673 100644 --- a/deployment/helm/topology-aware/templates/daemonset.yaml +++ b/deployment/helm/topology-aware/templates/daemonset.yaml @@ -55,7 +55,7 @@ spec: - -metrics-interval - 5s - --nri-plugin-index - - "{{ printf "%02d" .Values.nri.pluginIndex }}" + - "{{ printf "%02.0f" .Values.nri.pluginIndex }}" {{- if .Values.configGroupLabel }} - --config-group-label - {{ .Values.configGroupLabel }}