From c06fd2d5a33fd46bdba9848e1ce2fbb1951d1c29 Mon Sep 17 00:00:00 2001 From: bravof Date: Tue, 7 Jul 2020 13:59:26 -0400 Subject: [PATCH] fix(cleanup container): changing bash to sh --- .../eechart/charts/snmpexporter/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml b/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml index e99fd1c7..870519e3 100644 --- a/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml +++ b/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml @@ -19,7 +19,7 @@ spec: initContainers: - name: cleanup image: busybox:1.28 - command: ['bash', '-c', 'if [ ! -f "/etc/snmp_exporter/generator.yml" ]; then touch /etc/snmp_exporter/ok.init; fi'] + command: ['sh', '-c', 'if [ ! -f "/etc/snmp_exporter/generator.yml" ]; then touch /etc/snmp_exporter/ok.init; fi'] volumeMounts: - name: config-volume mountPath: /etc/snmp_exporter -- GitLab