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

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 <None>
This commit is contained in:
abikouo
2022-03-23 10:26:06 +01:00
committed by GitHub
parent d68dec3b90
commit 074f0a6555
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).