Open LiilyZhang opened 3 months ago
When reading the files inside operator.tar.gz, kubeworker should check the file format and ignore non-yaml files in this function:
operator.tar.gz
https://github.com/open-horizon/anax/blob/5beeb53715a4b0978b6e0c6e78b0f397e9a28bff/kube_operator/client.go#L500
Also maybe add yaml validation to the cli to check before tarring the provided folder that everything in it is valid yaml
When reading the files inside
operator.tar.gz
, kubeworker should check the file format and ignore non-yaml files in this function:https://github.com/open-horizon/anax/blob/5beeb53715a4b0978b6e0c6e78b0f397e9a28bff/kube_operator/client.go#L500