Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #45 from Kuadrant/pin-version
Browse files Browse the repository at this point in the history
Pinning MGC version
  • Loading branch information
david-martin authored Feb 27, 2024
2 parents fc9d95e + 38af1af commit ba3bbef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .deployUtils
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ deployMetalLB () {

kubectl config use-context kind-${clusterName}
echo "Deploying MetalLB to ${clusterName}"
${KUSTOMIZE_BIN} build "github.com/kuadrant/multicluster-gateway-controller.git/config/metallb?ref=main" | kubectl apply -f -
${KUSTOMIZE_BIN} build "github.com/kuadrant/multicluster-gateway-controller.git/config/metallb?ref=v0.3.0" | kubectl apply -f -
echo "Waiting for deployments to be ready ..."
kubectl -n metallb-system wait --for=condition=ready pod --selector=app=metallb --timeout=600s
configureMetalLB ${clusterName} ${metalLBSubnet}
Expand All @@ -148,7 +148,7 @@ deployIngressController () {
clusterName=${1}
kubectl config use-context kind-${clusterName}
echo "Deploying Ingress controller to ${clusterName}"
${KUSTOMIZE_BIN} build "github.com/kuadrant/multicluster-gateway-controller.git/config/ingress-nginx?ref=main" --enable-helm --helm-command ${HELM_BIN} | kubectl apply -f -
${KUSTOMIZE_BIN} build "github.com/kuadrant/multicluster-gateway-controller.git/config/ingress-nginx?ref=v0.3.0" --enable-helm --helm-command ${HELM_BIN} | kubectl apply -f -
echo "Waiting for deployments to be ready ..."
kubectl -n ingress-nginx wait --timeout=600s --for=condition=Available deployments --all
}
Expand All @@ -159,15 +159,15 @@ deployCertManager() {

kubectl config use-context kind-${clusterName}

${KUSTOMIZE_BIN} build "github.com/kuadrant/multicluster-gateway-controller.git/config/cert-manager?ref=main" --enable-helm --helm-command ${HELM_BIN} | kubectl apply -f -
${KUSTOMIZE_BIN} build "github.com/kuadrant/multicluster-gateway-controller.git/config/cert-manager?ref=v0.3.0" --enable-helm --helm-command ${HELM_BIN} | kubectl apply -f -

echo "Waiting for Cert Manager deployments to be ready..."
kubectl -n cert-manager wait --timeout=300s --for=condition=Available deployments --all

kubectl delete validatingWebhookConfiguration mgc-cert-manager-webhook
kubectl delete mutatingWebhookConfiguration mgc-cert-manager-webhook
# Apply the default glbc-ca issuer
${KUSTOMIZE_BIN} build "github.com/kuadrant/multicluster-gateway-controller.git/config/policy-controller/default?ref=main" --enable-helm --helm-command ${HELM_BIN} | kubectl apply -f -
${KUSTOMIZE_BIN} build "github.com/kuadrant/multicluster-gateway-controller.git/config/policy-controller/default?ref=v0.3.0" --enable-helm --helm-command ${HELM_BIN} | kubectl apply -f -
}

deployExternalDNS() {
Expand Down

0 comments on commit ba3bbef

Please sign in to comment.