Add option for CNF upgrade to reset values for upgrade operation on helm charts
Proposers
- Gerardo García (Telefónica)
- Francisco Javier Ramón (Telefónica)
Description
When running an upgrade action over a KDU based on helm chart, a helm upgrade operation is launched (https://helm.sh/docs/helm/helm_upgrade/). In OSM, the operation to upgrade a helm chart is launched with the option "--reuse-values" in order to reuse the previous values, so that every upgrade operation over the helm chart is incremental. However, there might be situations where the user might want to upgrade the helm chart resetting the values file.
This feature will enable a mechanism so that the user can indicate optionally if the KDU must be upgraded resetting the values of the helm chart.
Demo or definition of done
A Robot Test will be created or updated to request an upgrade resetting the values and another upgrade reusing the values, checking the output of both. Both upgrades should work accordingly.