Skip to content

Commit 6a9f08c

Browse files
committed
Make the CRD META-INF/fabric8 the SoT for now. See operator-framework/java-operator-sdk#2561
Signed-off-by: Tom Bentley <[email protected]>
1 parent 4490c86 commit 6a9f08c

File tree

2 files changed

+6
-44
lines changed

2 files changed

+6
-44
lines changed

kroxylicious-operator/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
</executions>
187187
</plugin>
188188
<plugin>
189+
<!-- Our CRDs are the source of truth for the Kube API; Java code is derived -->
189190
<groupId>io.fabric8</groupId>
190191
<artifactId>java-generator-maven-plugin</artifactId>
191192
<version>${fabric8-client.version}</version>
@@ -197,7 +198,11 @@
197198
</execution>
198199
</executions>
199200
<configuration>
200-
<source>src/main/resources/kubernetes</source>
201+
<!-- The LocallyRunOperatorExtension used in the tests depends on the
202+
CRDs being in this exact location.
203+
See https://github.com/operator-framework/java-operator-sdk/issues/2561
204+
-->
205+
<source>src/main/resources/META-INF/fabric8/kafka-proxies.kroxylicious.io-v1.yml</source>
201206
<extraAnnotations>true</extraAnnotations>
202207
<packageOverrides>
203208
<!-- the default package name ($apiGroup.$apiVersion) doesn't work for us -->

kroxylicious-operator/src/main/resources/kubernetes/Crd-KafkaProxy.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)