mia-platform / mlp

cli for easier deployment of Mia-Platform Console projects
https://docs.mia-platform.eu/docs/runtime_suite_tools/mlp/overview
Apache License 2.0
12 stars 2 forks source link

Smart deploy: fetch resources from cluster #26

Open mattia-fumo opened 2 years ago

mattia-fumo commented 2 years ago

Is your feature request related to a problem? Please describe. As of now, when the deploy-type is smart_deploy, the resources to be updated are checked against ConfigMaps and Secrets they depend on. These files are taken from the list passed as argument. When resources are manually applied to the target cluster (and are not passed as argument to mlp) it is possible that some resources are not updated as expected.

Describe the solution you'd like My advice is to fetch resources from the cluster and add them to the list of resources to be taken into account on update.