Add Debian based stx-vault-manager image

Restore the image build for stx-vault-manager. Reference the removal of
CentOS based image: commit 20167fc5.  It is effectively the same but for
Debian, a newer kubectl version, and the 'slim' image size.

Vault manager uses kubectl and miscellaneous tools including: curl, jq,
awk, bash, grep, sed and coreutils.

Test Plan:
PASS - Standard, dedicated storage 2+2+2
PASS - apply vault application with helm override to use the new image
PASS - observe pod logs, vault-manager operation
PASS - test vault HA, observe vault-manager operation
PASS - configure vault, configure secret, read secret
PASS - apply helloworld app, confirm read secret

Story: 2010393
Task: 46869

Change-Id: I9ca31d2f1047e704f961936ba8f04a7abdab56f5
Signed-off-by: Michel Thebeau <>
Michel Thebeau 2023-01-17 14:00:46 -05:00
parent 809cdf6206
commit c9032e2e4c
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,13 @@
from debian:stable-slim
ENV KUBECTL_DL_URL="${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl"
RUN set -ex; \
PKG_LIST="mawk bash coreutils curl grep sed jq"; \
apt-get update && apt-get install -y $PKG_LIST \
&& apt-get clean && rm -r /var/lib/apt/lists/* \
&& curl -L "$KUBECTL_DL_URL" -o /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl
CMD ["bash"]

View File

@ -0,0 +1,2 @@