From 8758527b4e344f8170bac378187e55482b5b51fc Mon Sep 17 00:00:00 2001 From: Siraj Yasin Date: Wed, 3 Nov 2021 21:03:01 +0000 Subject: [PATCH] Fix the ARTIFACTS_DIR path issue Change-Id: I6c7c417d8f9ea9a619e2a6412d3143999562ca10 --- tools/airship-in-a-pod/runner/assets/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/airship-in-a-pod/runner/assets/entrypoint.sh b/tools/airship-in-a-pod/runner/assets/entrypoint.sh index 4519b7f01..435fb7dbf 100755 --- a/tools/airship-in-a-pod/runner/assets/entrypoint.sh +++ b/tools/airship-in-a-pod/runner/assets/entrypoint.sh @@ -44,7 +44,7 @@ install /tmp/kustomize /usr/local/bin SOPS_IMPORT_PGP=$( cat /opt/aiap-secret-volume/SOPS_IMPORT_PGP ) if [ -z "${SOPS_IMPORT_PGP}" ];then # set user1 key - SOPS_IMPORT_PGP="$(cat ./manifests/.private-keys/exampleU1.key)" + SOPS_IMPORT_PGP="$(cat $ARTIFACTS_DIR/airshipctl/manifests/.private-keys/exampleU1.key)" fi export SOPS_IMPORT_PGP=${SOPS_IMPORT_PGP}