You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: e2e/scripts/check-installation-state.sh
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,19 +68,22 @@ ensure_app_not_upgraded() {
68
68
69
69
main() {
70
70
local version="$1"
71
-
sleep 30# wait for kubectl to become available
71
+
sleep 10# wait for kubectl to become available
72
72
73
73
echo"pods"
74
74
kubectl get pods -A
75
75
76
76
echo"ensure that installation is installed"
77
-
wait_for_installation
77
+
ifecho"$version"| grep "pre-minio-removal";then
78
+
echo"waiting for installation as this is a pre-minio-removal embedded-cluster version (and so the installer doesn't wait for the installation to be ready itself)"
79
+
wait_for_installation
80
+
fi
78
81
kubectl get installations --no-headers | grep -q "Installed"
79
82
80
83
echo"ensure that the admin console branding is available and has the DR label"
81
84
if! kubectl get cm -n kotsadm -l replicated.com/disaster-recovery=infra | grep -q kotsadm-application-metadata;then
82
85
echo"kotsadm-application-metadata configmap not found with the DR label"
83
-
kubectl get cm -n kotsadm
86
+
kubectl get cm -n kotsadm --show-labels
84
87
kubectl get cm -n kotsadm kotsadm-application-metadata -o yaml
0 commit comments