mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-06-09 18:16:09 +00:00
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