This repository was archived by the owner on Oct 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1012,7 +1012,15 @@ func findOperatorOnce(c *Cluster) (*Deployment, error) {
1012
1012
return deployment , nil
1013
1013
}
1014
1014
1015
+ // The order matters here: the deployments listed first will also run first,
1016
+ // and somehow that helps OLM. When it was run at the end, there were OLM
1017
+ // errors ("operatorhubio-catalog-lbdrz 0/1 CrashLoopBackOff") that did not
1018
+ // occur locally or when running the tests on a "fresh" CI cluster.
1015
1019
var allDeployments = []string {
1020
+ "olm" , // operator installed by OLM
1021
+ "olm-lvm-production" ,
1022
+ "olm-direct-production" ,
1023
+
1016
1024
"lvm-production" ,
1017
1025
"direct-production" ,
1018
1026
"operator" ,
@@ -1021,9 +1029,6 @@ var allDeployments = []string{
1021
1029
// Uses kube-system, to ensure that deployment in a namespace also works,
1022
1030
// and *no* controller.
1023
1031
"operator-direct-production" ,
1024
- "olm" , // operator installed by OLM
1025
- "olm-lvm-production" ,
1026
- "olm-direct-production" ,
1027
1032
}
1028
1033
var deploymentRE = regexp .MustCompile (`^(operator|olm)?-?(\w*)?-?(testing|production)?-?([0-9\.]*)$` )
1029
1034
You can’t perform that action at this time.
0 commit comments