From 41cf008cddb77a3262484ee05e48837951c7136c Mon Sep 17 00:00:00 2001 From: Tanmay Satam Date: Tue, 13 Feb 2024 15:41:21 -0500 Subject: [PATCH] Backport changes from production Hive deployment --- hack/hive-dev-install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hack/hive-dev-install.sh b/hack/hive-dev-install.sh index 9d350bba37a..a6133701261 100755 --- a/hack/hive-dev-install.sh +++ b/hack/hive-dev-install.sh @@ -67,7 +67,6 @@ else fi $KUBECTL apply -f ./hack/hive-config/crds -$KUBECTL apply -f ./hack/hive-config/hive-deployment.yaml echo "$PULL_SECRET" > /tmp/.tmp-secret # Using dry-run allows updates to work seamlessly @@ -75,5 +74,12 @@ $KUBECTL create secret generic hive-global-pull-secret --from-file=.dockerconfig rm -f /tmp/.tmp-secret sed "s/HIVE_OPERATOR_NS/$HIVE_OPERATOR_NS/g" hack/hive-config/hive-config.yaml | $KUBECTL apply -f - +$KUBECTL apply -f ./hack/hive-config/hive-additional-install-log-regexes.yaml + +$KUBECTL apply -f ./hack/hive-config/hive-deployment.yaml + +$KUBECTL wait --timeout=5m --for=condition=Available --namespace hive deployment/hive-operator +$KUBECTL wait --timeout=5m --for=condition=Available --namespace hive deployment/hive-controllers +$KUBECTL wait --timeout=5m --for=condition=Ready --namespace hive pod --selector "control-plane=clustersync" echo -e "\nHive is installed."