From 954db8cc047db3d133620e34793bf30fa256e6d3 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 ++- charts/kured/values.minikube.yaml | 2 -- charts/kured/values.yaml | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) 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*" diff --git a/charts/kured/values.minikube.yaml b/charts/kured/values.minikube.yaml index 74e30a94a..1d5a016c9 100644 --- a/charts/kured/values.minikube.yaml +++ b/charts/kured/values.minikube.yaml @@ -29,5 +29,3 @@ configuration: # annotateNodes: false # enable 'weave.works/kured-reboot-in-progress' and 'weave.works/kured-most-recent-reboot-needed' node annotations to signify kured reboot operations # lockReleaseDelay: "5m" # hold lock after reboot by this amount of time (default 0, disabled) # logFormat: "text" # log format specified as text or json, defaults to text - # preRebootNodeLabels: [] # labels to add to nodes before cordoning (default []) - # postRebootNodeLabels: [] # labels to add to nodes after uncordoning (default []) diff --git a/charts/kured/values.yaml b/charts/kured/values.yaml index af59bb460..1cee36693 100644 --- a/charts/kured/values.yaml +++ b/charts/kured/values.yaml @@ -54,8 +54,7 @@ configuration: logFormat: "text" # log format specified as text or json, defaults to text preRebootNodeLabels: [] # labels to add to nodes before cordoning (default []) postRebootNodeLabels: [] # labels to add to nodes after uncordoning (default []) - - + rbac: create: true