diff --git a/deployment/helm/balloons/templates/daemonset.yaml b/deployment/helm/balloons/templates/daemonset.yaml index e9998613d..d978aeb5b 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 }}" + - "{{ .Values.nri.pluginIndex | int | printf "%02d" }}" {{- 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..473452312 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 }}" + - "{{ .Values.nri.pluginIndex | int | printf "%02d" }}" - --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..51e7e7ae5 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 }}" + - "{{ .Values.nri.pluginIndex | int | printf "%02d" }}" - --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..ed21bc779 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 }}" + - "{{ .Values.nri.pluginIndex | int | printf "%02d" }}" 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..fb638ed32 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 }}" + - "{{ .Values.nri.pluginIndex | int | printf "%02d" }}" {{- 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..efbed0c40 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 }}" + - "{{ .Values.nri.pluginIndex | int | printf "%02d" }}" {{- if .Values.configGroupLabel }} - --config-group-label - {{ .Values.configGroupLabel }}