From 5cd61cd5ff208debdf3b33314f8758b431132ac2 Mon Sep 17 00:00:00 2001 From: bravof Date: Tue, 7 Jul 2020 14:14:58 -0400 Subject: [PATCH] fix(cleanup): typo in cleanup initcontainer --- .../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 870519e3..8cddcdaf 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: ['sh', '-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