Skip to content

Commit fd37a89

Browse files
xstefankcsviri
authored andcommitted
fix add withInfrastructureKubernetesClient to ClusterDeployedOperatorExtension.Builder
Signed-off-by: xstefank <[email protected]>
1 parent f1860f8 commit fd37a89

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

operator-framework-junit5/src/main/java/io/javaoperatorsdk/operator/junit/ClusterDeployedOperatorExtension.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ public Builder withKubernetesClient(KubernetesClient kubernetesClient) {
156156
return this;
157157
}
158158

159+
public Builder withInfrastructureKubernetesClient(KubernetesClient kubernetesClient) {
160+
this.infrastructureKubernetesClient = kubernetesClient;
161+
return this;
162+
}
163+
159164
public ClusterDeployedOperatorExtension build() {
160165
infrastructureKubernetesClient =
161166
infrastructureKubernetesClient != null

0 commit comments

Comments
 (0)