Skip to content

Commit

Permalink
Update quickstart to correctly deploy from KUADRANT_REF (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-cattermole committed Jan 30, 2024
1 parent 2c2d5dc commit c0c178f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hack/quickstart-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ source /dev/stdin <<< "$(curl -s https://github.com/raw/${KUADRANT_OR

YQ_BIN=$(dockerBinCmd "yq")

KUADRANT_IMAGE="quay.io/${KUADRANT_ORG}/kuadrant-operator:latest"
KUADRANT_REPO="github.com/${KUADRANT_ORG}/kuadrant-operator.git"
MGC_REPO="github.com/${KUADRANT_ORG}/multicluster-gateway-controller.git"
KUADRANT_REPO_RAW="https://github.com/raw/${KUADRANT_ORG}/kuadrant-operator/${KUADRANT_REF}"
Expand All @@ -51,7 +50,7 @@ set -e pipefail

if [[ "${KUADRANT_REF}" != "main" ]]; then
echo "setting KUADRANT_REPO to use branch ${KUADRANT_REF}"
KUADRANT_IMAGE="quay.io/${KUADRANT_ORG}/kuadrant-operator:${KUADRANT_REF}"
KUADRANT_DEPLOY_KUSTOMIZATION=${KUADRANT_DEPLOY_KUSTOMIZATION}?ref=${KUADRANT_REF}
KUADRANT_GATEWAY_API_KUSTOMIZATION=${KUADRANT_GATEWAY_API_KUSTOMIZATION}?ref=${KUADRANT_REF}
KUADRANT_ISTIO_KUSTOMIZATION=${KUADRANT_ISTIO_KUSTOMIZATION}?ref=${KUADRANT_REF}
KUADRANT_CERT_MANAGER_KUSTOMIZATION=${KUADRANT_CERT_MANAGER_KUSTOMIZATION}?ref=${KUADRANT_REF}
Expand Down Expand Up @@ -117,7 +116,6 @@ kubectl apply -n metallb-system -f - <<< "$(curl -s ${KUADRANT_REPO_RAW}/utils/d
# Install kuadrant
echo "Installing Kuadrant in ${KUADRANT_CLUSTER_NAME}"
${KUSTOMIZE_BIN} build ${KUADRANT_DEPLOY_KUSTOMIZATION} | kubectl apply -f -
kubectl -n ${KUADRANT_NAMESPACE} patch deployment kuadrant-operator-controller-manager --type='merge' -p '{"spec":{"template":{"spec":{"containers":[{"name":"manager","image":"'"${KUADRANT_IMAGE}"'"}]}}}}'

# Configure managedzone
if [ ! -z "$DNS_PROVIDER" ]; then
Expand Down

0 comments on commit c0c178f

Please sign in to comment.