This PR fixes a couple of issues resulting in a Provider failed state of the customer container module, when the following scenarios are met for the configMap configuration.
Scenario
Current IoT Edge VK provider version
New IoT Edge VK provider version
Missing configMap
Pod running
Pod running
Missing data part in configMap
Provider failed
Pod running
Empty data part in configMap
Provider failed
Pod running
Missing restartPolicy part in configMap
Provider failed
Pod running
Empty restartPolicy part in configMap
Provider failed
Pod running
Missing createOptions part in configMap
Provider failed
Pod running
Example configMaps for each scenario except the first one
This PR fixes a couple of issues resulting in a
Provider failed
state of the customer container module, when the following scenarios are met for the configMap configuration.Example configMaps for each scenario except the first one
Missing data part in configMap
Empty data part in configMap
Missing restartPolicy part in configMap
Empty restartPolicy part in configMap
With an empty restaryPolicy part you need to run
kubectl apply -f deployment.yaml --validate=false
to execute the deployment process.Missing createOptions part in configMap