Skip to content

Commit 1c88ef8

Browse files
committed
wip
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 9e7993c commit 1c88ef8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,12 @@ protected void applyCrds(ExtensionContext context) {
120120
throw new IllegalStateException("Cannot apply CRD yaml: " + crdFile.getAbsolutePath(), ex);
121121
}
122122
}
123+
}
123124

125+
@Override
126+
protected void before(ExtensionContext context) {
127+
super.before(context);
128+
final var kubernetesClient = getInfrastructureKubernetesClient();
124129
LOGGER.debug("Deploying the operator into Kubernetes. Target namespace: {}", namespace);
125130
operatorDeployment.forEach(
126131
hm -> {

0 commit comments

Comments
 (0)