
Allow vault-manager to pick the version of kubectl that matches the currently running server. Add a helm override option to pick a particular version available within the image. Refresh the helm chart patches on top of this change. Test Plan: PASS Unit test the code PASS helm chart override PASS sanity of vault application PASS watch vault manager log during kubernetes upgrade Story: 2010930 Task: 49177 Change-Id: I2459d0376efb6b7e47a25f59ee82ca74b277361f Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
40 lines
1.1 KiB
Diff
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
|
|
|