Browse Source

Fix the ARTIFACTS_DIR path issue

Change-Id: I6c7c417d8f9ea9a619e2a6412d3143999562ca10
changes/78/816578/5
Siraj Yasin 9 months ago committed by Sirajudeen
parent
commit
8758527b4e
  1. 2
      tools/airship-in-a-pod/runner/assets/entrypoint.sh

2
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}

Loading…
Cancel
Save