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
Wait for installation status on install/restore (#577)
* add installation wait spinner to kubeutils
* don't wait for installation state as that is in the installer now
* call from within admin console outro
* fix spinner
* refactor installation spinner and outro message out of admin console
* remove 'finished', do not print admin console message if no license
* renaming
* comments
* wait for installation in old version upgrade test
* fix old version upgrade test again
* test with Alma, not Rocky, Linux
* better installation failure/timeout logs
* wording
* pass the installation status to a channel
* update operator chart
* LOGS LOGS LOGS
* handle zero case
* unsupported overrides chart update
* why did this message stop showing up
* fix finishing vs finalizing
* validating license, not finalizing
* debug
* ?
* add operator
* update operator version to v0.30.2
* remove logs
* attempt to resolve race
* add mutex, because of course that's the solution
* combine kotsadm output lines
* undo mask changes
* match wording in review
Additional components are ready/waiting for additional components to be ready
* simple suggestions from code review
* refactor to remove unneeded channel architecture
* close spinner on error
* branding configmap question
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