Skip to content

Commit

Permalink
Add additional steps to allow resolving of local e2e image repository
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Nov 15, 2024
1 parent 7e51ca4 commit 2325428
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/e2e/setup-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ install_knative() {
kubectl rollout status deployment/domainmapping-webhook -n knative-serving -w --timeout=${TIMEOUT}
kubectl rollout status deployment/webhook -n knative-serving -w --timeout=${TIMEOUT}

# Update knative config-deployment config map to allow resolving of the local e2e image repository
kubectl get configmap -n knative-serving config-deployment -o yaml > temp.yaml
yq -i '.data.registries-skipping-tag-resolving="kind.local,ko.local,dev.local,dev.localhost"' temp.yaml
kubectl apply -f temp.yaml
kubectl rollout restart deployment -n knative-serving controller

# Install knative-istio
kubectl apply -f https://github.com/knative-sandbox/net-istio/releases/download/knative-v${KNATIVE_NET_ISTIO_VERSION}/net-istio.yaml

Expand Down

0 comments on commit 2325428

Please sign in to comment.