Skip to content
Snippets Groups Projects
Commit fd4f8e38 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

#2 OZG-7121 helm: Add initContainer command

parent 637b9114
No related branches found
No related tags found
1 merge request!3Resolve "xta-test-server helm-chart mit Deployment und Keystore-Secrets/Certificate-Resources"
Pipeline #1331 passed
......@@ -2,8 +2,8 @@ FROM alpine:3.21
RUN apk add --no-cache openssl openjdk11
COPY src/main/resources/store/keystore-truststore-from-tls-secret.sh ./
COPY src/main/resources/store/keystore-truststore-from-tls-secret.sh /opt/
VOLUME /store /tls
ENTRYPOINT [ "/bin/sh", "keystore-truststore-from-tls-secret.sh" ]
\ No newline at end of file
ENTRYPOINT [ "/bin/sh", "/opt/keystore-truststore-from-tls-secret.sh" ]
\ No newline at end of file
......@@ -60,6 +60,7 @@ spec:
initContainers:
- name: init-keystore-and-truststore
image: docker.ozg-sh.de/keystore-truststore-from-tls-secret:latest
command: ["/bin/sh", "/opt/keystore-truststore-from-tls-secret.sh"]
volumeMounts:
- name: xta-test-server-tls-store
mountPath: "/tls/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment