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 19ef0d9c89381763d6fa117afc1b9bc04e43b3d6..a7b0bdf42c1df5adf7659ba43cecfd1f39dc4506 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 @@ -45,6 +45,12 @@ spec: mountPath: /etc/snmp_exporter - name: internal-comm mountPath: /etc/internalcomm + readinessProbe: + exec: + command: + - /bin/sh + - -c + - if [ -f "/etc/snmp_exporter/generator.yml" ]; then touch /internalcomm/ok.init; fi livenessProbe: exec: command: