mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-06-10 02:26:09 +00:00
fix(helm_repository): strip trailing slashes from repo_url (#1121)
Helm normalizes repository URLs internally, so a URL supplied with a trailing slash and the same URL without one are treated as different entries. This causes the module to fail every run when the user provides a trailing slash, even though the repository is already correctly registered. Strip the trailing slash from repo_url before comparing against the existing repository list so repeated runs with the same input are idempotent. Fixes #480
This commit is contained in:
committed by
GitHub
parent
e79ed52a4d
commit
8a58d3b6de
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- helm_repository - correct handling of repository URLs with trailing slashes (https://github.com/ansible-collections/kubernetes.core/pull/1121).
|
||||
Reference in New Issue
Block a user