Skip to content

Commit

Permalink
Integrate trusted ca into buildah-oci-ta.
Browse files Browse the repository at this point in the history
  • Loading branch information
tecarter94 committed Dec 11, 2024
1 parent b0987de commit db4a41d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/tasks/buildah-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,12 @@ spec:
done < <(find $ADDITIONAL_SECRET_TMP -maxdepth 1 -type f -exec basename {} \;)
fi
if [ -f "$ca_bundle" ]; then
cp -r --preserve=mode /mnt/trusted-ca /tmp/trusted-ca
VOLUME_MOUNTS+=(--volume /tmp/trusted-ca:/etc/pki/ca-trust/source/anchors)
echo "Adding the trusted-ca to the build"
fi
# Prevent ShellCheck from giving a warning because 'image' is defined and 'IMAGE' is not.
declare IMAGE
Expand Down

0 comments on commit db4a41d

Please sign in to comment.