From 219c747a24a78bd072e1f54edd6d707efab02597 Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Tue, 17 Dec 2024 11:58:33 +0100 Subject: [PATCH] fix: typo (#804) * fix: typo replaces https://github.com/ansible-collections/kubernetes.core/pull/799 * doc: add changelog fragment * Delete changelogs/fragments/804-drain-typo.yaml --------- Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com> --- plugins/modules/k8s_drain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/k8s_drain.py b/plugins/modules/k8s_drain.py index 6544553b..4009666a 100644 --- a/plugins/modules/k8s_drain.py +++ b/plugins/modules/k8s_drain.py @@ -106,7 +106,8 @@ EXAMPLES = r""" kubernetes.core.k8s_drain: state: drain name: foo - force: yes + delete_options: + force: yes - name: Drain node "foo", but abort if there are pods not managed by a ReplicationController, Job, or DaemonSet, and use a grace period of 15 minutes. kubernetes.core.k8s_drain: