From 57479b8402441543c7456c3b9cec765f2287b23a Mon Sep 17 00:00:00 2001 From: atighineanu Date: Fri, 24 Jun 2022 14:40:29 +0200 Subject: [PATCH] added proper documentation about new flag added readme note about new flag --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3687f110d..3b281c9e8 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ Flags: --lock-annotation string annotation in which to record locking node (default "weave.works/kured-node-lock") --lock-release-delay duration hold lock after reboot by this duration (default: 0, disabled) --lock-ttl duration expire lock annotation after this duration (default: 0, disabled) + --message-template-uncordon string message template used to notify about a node being successfully uncordoned (default "Node %s rebooted & uncordoned successfully!") --message-template-drain string message template used to notify about a node being drained (default "Draining node %s") --message-template-reboot string message template used to notify about a node being rebooted (default "Rebooting node %s") --notify-url url for reboot notifications (cannot use with --slack-hook-url flags) @@ -275,7 +276,7 @@ about draining and rebooting nodes across a list of technologies. ![Notification](img/slack-notification.png) -Alternatively you can use the `--message-template-drain` and `--message-template-reboot` to customize the text of the message, e.g. +Alternatively you can use the `--message-template-drain`, `--message-template-reboot` and `--message-template-uncordon` to customize the text of the message, e.g. ```cli --message-template-drain="Draining node %s part of *my-cluster* in region *xyz*"