fix issue when using k8s_drain with disable_eviction set to yes (#418) (#440)

[backport/2.3] fix issue when using k8s_drain with disable_eviction set to yes (#418)

Depends-On: #446
fix issue when using k8s_drain with disable_eviction set to yes
SUMMARY
fixes #416
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
k8s_drain
ADDITIONAL INFORMATION
Reviewed-by: Abhijeet Kasurde 
(cherry picked from commit 074f0a6)
This commit is contained in:
Mike Graves
2022-04-29 16:45:47 -04:00
committed by GitHub
parent 68d45af767
commit 321b6dcdd8
4 changed files with 78 additions and 17 deletions

View File

@@ -0,0 +1,3 @@
---
bugfixes:
- k8s_drain - fix error occurring when trying to drain node with disable_eviction set to yes (https://github.com/ansible-collections/kubernetes.core/issues/416).