mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-11-21 14:48:37 +00:00
* fix(helm): validate reuse_values against reset_values and replace reset_values defaults to true and helm ignores --reuse-values whenever --reset-values is passed, so the documented reuse_values example was a no-op. Warn rather than flip the default, which would silently change what existing playbooks deploy. helm install accepts neither --reuse-values nor --reset-then-reuse-values, so pairing either with replace could only ever make helm report an unknown flag. Fail up front instead, and keep both flags inside the upgrade branch. Fixes #1229 * fix(docstring): neither nor replacing Co-authored-by: Don Naro <dnaro@redhat.com> * fix(helm): warn instead of failing on replace + reuse_values reuse_values has been accepted since 3.0.0, and a converged release never reaches deploy(), so these combinations pass in playbooks today. Failing in main() would turn them red on upgrade. The flags are already dropped from the install path, so warning leaves a valid command behind. Splits the changelog fragment per user-visible change, and covers the helm diff path, whose 'not replace' guards the hard failure had made unreachable. Changes based on the @abikouo's feedback --------- Co-authored-by: Don Naro <dnaro@redhat.com>