File tree Expand file tree Collapse file tree
operator/src/test/java/it/aboutbits/postgresql/helm Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package it .aboutbits .postgresql .helm ;
22
33import io .fabric8 .kubernetes .api .model .ConfigBuilder ;
4- import io .fabric8 .kubernetes .api .model .LocalObjectReference ;
54import io .fabric8 .kubernetes .client .KubernetesClient ;
65import io .fabric8 .kubernetes .client .utils .Serialization ;
76import io .quarkus .test .junit .QuarkusTest ;
@@ -173,11 +172,8 @@ void helmInstall_createsDeployment() throws IOException {
173172
174173 assertThat (deployment .getSpec ())
175174 .isNotNull ()
176- .satisfies (spec -> assertThat (spec .getTemplate ().getSpec ().getImagePullSecrets ())
177- .isNotEmpty ()
178- .element (0 )
179- .isNotNull ()
180- .isEqualTo (new LocalObjectReference (null ))
175+ .satisfies (spec ->
176+ assertThat (spec .getTemplate ().getSpec ().getImagePullSecrets ()).isEmpty ()
181177 );
182178
183179 var selector = deployment .getSpec ().getSelector ();
You can’t perform that action at this time.
0 commit comments