From d2daeaeb13e2175951dd2969c4742e4f5ba806c8 Mon Sep 17 00:00:00 2001 From: bravof Date: Tue, 7 Jul 2020 14:40:14 -0400 Subject: [PATCH] fix(touch): touch now with emptyDir --- .../eechart/charts/snmpexporter/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 64dd9ec7..19ef0d9c 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,12 +19,12 @@ spec: initContainers: - name: cleanup image: busybox:1.28 - command: ['sh', '-c', 'if [ -f "/etc/snmp_exporter/generator.yml" ]; then touch /etc/internalcomm/ok.init; fi'] + command: ['sh', '-c', 'if [ -f "/etc/snmp_exporter/generator.yml" ]; then touch /internalcomm/ok.init; fi'] volumeMounts: - name: config-volume mountPath: /etc/snmp_exporter - name: internal-comm - mountPath: /etc/internalcomm + mountPath: /internalcomm - name: init-config image: busybox:1.28 command: ['sh', '-c', 'if [ ! -f "/etc/snmp_exporter/snmp.yml" ]; then cp /etc/snmp_exporter_init/snmp.yml /etc/snmp_exporter; fi'] -- GitLab