@@ -54,7 +54,7 @@ var _ = Describe("Installing bundles with new object types", func() {
54
54
By ("first installing the VPA CRD on cluster" )
55
55
const (
56
56
sourceName = "test-catalog"
57
- imageName = "quay.io/olmtest/single-bundle-index:pdb"
57
+ imageName = "quay.io/olmtest/single-bundle-index:pdb-v1 "
58
58
)
59
59
60
60
// create VPA CRD on cluster
@@ -139,11 +139,6 @@ var _ = Describe("Installing bundles with new object types", func() {
139
139
}
140
140
141
141
// confirm extra bundle objects are installed
142
- Eventually (func () error {
143
- _ , err := kubeClient .KubernetesInterface ().PolicyV1beta1 ().PodDisruptionBudgets (testNamespace ).Get (context .TODO (), pdbName , metav1.GetOptions {})
144
- return err
145
- }).Should (Succeed (), "expected no error getting pdb object associated with CSV" )
146
-
147
142
Eventually (func () error {
148
143
_ , err := kubeClient .KubernetesInterface ().SchedulingV1 ().PriorityClasses ().Get (context .TODO (), priorityClassName , metav1.GetOptions {})
149
144
return err
@@ -153,6 +148,11 @@ var _ = Describe("Installing bundles with new object types", func() {
153
148
_ , err := dynamicClient .Resource (resource ).Namespace (testNamespace ).Get (context .TODO (), vpaName , metav1.GetOptions {})
154
149
return err
155
150
}).Should (Succeed (), "expected no error finding vpa object associated with csv" )
151
+
152
+ Eventually (func () error {
153
+ _ , err := kubeClient .KubernetesInterface ().PolicyV1 ().PodDisruptionBudgets (testNamespace ).Get (context .TODO (), pdbName , metav1.GetOptions {})
154
+ return err
155
+ }).Should (Succeed (), "expected no error getting pdb object associated with CSV" )
156
156
})
157
157
158
158
AfterEach (func () {
0 commit comments