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

Pinning MGC version #45

Merged
merged 1 commit into from
Feb 27, 2024
Merged
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: 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