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@windriver.com>
This commit is contained in:
parent
809cdf6206
commit
c9032e2e4c
1
debian_stable_docker_images.inc
Normal file
1
debian_stable_docker_images.inc
Normal file
@ -0,0 +1 @@
|
||||
stx-vault-manager
|
13
stx-vault-manager/debian/docker/Dockerfile
Normal file
13
stx-vault-manager/debian/docker/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
from debian:stable-slim
|
||||
|
||||
ENV KUBE_LATEST_VERSION="v1.24.4"
|
||||
ENV KUBECTL_DL_URL="https://storage.googleapis.com/kubernetes-release/release/${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"]
|
@ -0,0 +1,2 @@
|
||||
BUILDER=docker
|
||||
LABEL=stx-vault-manager
|
Loading…
Reference in New Issue
Block a user