diff --git a/oracle-api/openshift.deploy.yml b/oracle-api/openshift.deploy.yml index 54e1dca81..0013d13b2 100644 --- a/oracle-api/openshift.deploy.yml +++ b/oracle-api/openshift.deploy.yml @@ -94,7 +94,13 @@ objects: claimName: ${NAME}-${ZONE}-${COMPONENT} initContainers: - name: ${NAME}-${ZONE}-${COMPONENT}-init - image: ${REGISTRY}/${ORG}/${NAME}/common:${TAG} + command: + - /bin/sh + - -c + - | + cd /app + ./install_cert.sh + image: ${REGISTRY}/${ORG}/${NAME}/${COMPONENT}:${TAG} imagePullPolicy: Always env: - name: DATABASE_HOST