Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix contour on m1 Macs #1551

Merged
merged 1 commit into from
Aug 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,13 @@ echo "*******************"
echo "Installing Contour ${contour_version}"
echo "*******************"

kubectl apply -f https://projectcontour.io/quickstart/contour.yaml
# Temporarily resolve an issue with contour running on Apple silicon.
# This fix can be removed once the latest version of contour uses envoy v1.23.1 or newer
if command -v kbld &> /dev/null; then
kbld --image-map-file "${DEP_DIR}/contour/kbld-image-mapping-to-fix-envoy-v1.23-bug.json" -f https://projectcontour.io/quickstart/contour.yaml | kubectl apply -f -
else
kubectl apply -f https://projectcontour.io/quickstart/contour.yaml
fi

sbr_version=$(curl --silent "https://api.github.com/repos/servicebinding/runtime/releases/latest" | jq -r '.tag_name')
echo "**************************************"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"docker.io/envoyproxy/envoy:v1.23.0": "docker.io/envoyproxy/envoy:v1.22-latest"
}