helm: Accept release candidate versions for compatibility checks (#745) (#754)

This is a backport of PR #745 as merged into main (6a04f42).
SUMMARY

If the helm CLI version includes -rc.1 for example, the version checks fails due to an incomplete regex.
The error can be triggered if you use helm v3.15.0-rc.1 for example, and apply a helm chart with wait: true 
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
helm
helm_pull
ADDITIONAL INFORMATION

Reviewed-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
patchback[bot]
2024-06-18 13:05:55 +00:00
committed by GitHub
parent 7b0190f8d5
commit 5761205513
3 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- helm - Helm version checks did not support RC versions. They now accept any version tags. (https://github.com/ansible-collections/kubernetes.core/pull/745).