-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubernetes.core.helm does not uninstall charts in pending-install status #319
Comments
We have the same problem, chart in - name: "Check installed helm release"
kubernetes.core.helm_info:
release_name: "{{ chart_name }}"
release_namespace: "{{ chart_namespace }}"
register: __helm_release Output for chart in I see that in kubernetes.core/plugins/modules/helm.py Line 357 in bf3fe91
So it will not see any releases in pending status. And in chart deletion code I see that it checks current chart status with kubernetes.core/plugins/modules/helm.py Lines 681 to 702 in bf3fe91
I suppose |
issue #377 |
While performing uninstall, list all releases to gather information about them. Fixes: ansible-collections#319 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
While performing uninstall, list all releases to gather information about them. Fixes: ansible-collections#319 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
I find PR from 2021 year #204 |
@Akasurde Why did you close the #381 ? I think to solve the problem #204 (comment) |
This function doesn't not seems to work with latest kubernetes.core (2.4.0) or I'm wrong ? |
SUMMARY
The module kubernetes.core.helm does not uninstall charts that are in a pending-install, pending-upgrade or similar STATUS
ISSUE TYPE
COMPONENT NAME
kubernetes.core.helm
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.13.7
PRETTY_NAME="Alpine Linux v3.13"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
STEPS TO REPRODUCE
EXPECTED RESULTS
Uninstall desired chart
ACTUAL RESULTS
Chart stays as pending-install, pending-upgrade or similar, and uninstall gives you and OK result.
The text was updated successfully, but these errors were encountered: