vault-armada-app/vault-helm/debian/deb_folder/patches/0001-Add-manager-pause-requ...

40 lines
1.1 KiB
Diff

From 632a43d0fb4661c0bd1ca7a03e6dee69c1d9974e Mon Sep 17 00:00:00 2001
From: Michel Thebeau <Michel.Thebeau@windriver.com>
Date: Mon, 6 Nov 2023 19:28:52 +0000
Subject: [PATCH] Add manager pause request to helm values.yaml
Add manager.pause to values.yaml to allow a developer to pause the
execution of vault-manager. This is intended as a debugging option.
The vault-manager pauses on any of the exit_on_trap safe points. A
value of '1' pauses before vault-manager executes any code (other than
variable initialization).
Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
---
values.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/values.yaml b/values.yaml
index 600d632..ac35eb2 100644
--- a/values.yaml
+++ b/values.yaml
@@ -123,6 +123,13 @@ manager:
log:
defaultLogLevel: 2
+ # Debugging option to setup pause request for vault manager on startup
+ # A pause_on_trap file will be created with the content of this value
+ # Values may include a positive integer matching a call of
+ # exit_on_trap
+ #
+ # pause: 1
+
injector:
# True if you want to enable vault agent injection.
# @default: global.enabled
--
2.34.1