Skip to content
Snippets Groups Projects
Commit 947f9170 authored by OZGCloud's avatar OZGCloud
Browse files

spring native hints

parent d53b4363
No related branches found
No related tags found
No related merge requests found
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: kopkeycloakrealms.operator.ozgcloud.de
spec:
group: operator.ozgcloud.de
names:
kind: KopKeycloakRealm
listKind: KopKeycloakRealmList
plural: kopkeycloakrealms
singular: kopkeycloakrealm
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: KopKeycloakRealm is the Schema for the keycloak realms API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: Spec defines the desired state of Keycloak
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: Status defines the observed state of Keycloak
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
served: true
storage: true
subresources:
status: {}
...@@ -45,12 +45,12 @@ ...@@ -45,12 +45,12 @@
<version>0.10.2</version> <version>0.10.2</version>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>io.fabric8</groupId> <!-- <groupId>io.fabric8</groupId>-->
<artifactId>crd-generator-apt</artifactId> <!-- <artifactId>crd-generator-apt</artifactId>-->
<scope>provided</scope> <!-- <scope>provided</scope>-->
<version>6.7.1</version> <!-- <version>6.7.1</version>-->
</dependency> <!-- </dependency>-->
<dependency> <dependency>
......
...@@ -35,6 +35,13 @@ public class SpringNativeConfiguration { ...@@ -35,6 +35,13 @@ public class SpringNativeConfiguration {
combined.add(io.fabric8.kubernetes.client.impl.KubernetesClientImpl.class); combined.add(io.fabric8.kubernetes.client.impl.KubernetesClientImpl.class);
combined.add(io.javaoperatorsdk.operator.processing.retry.GenericRetry.class); combined.add(io.javaoperatorsdk.operator.processing.retry.GenericRetry.class);
combined.add(io.javaoperatorsdk.operator.processing.event.rate.LinearRateLimiter.class); combined.add(io.javaoperatorsdk.operator.processing.event.rate.LinearRateLimiter.class);
// Class.forName("io.fabric8.kubernetes.client.okhttp.OkHttpClientBuilderImpl");
// reflections.getSubTypesOf(io.fabric8.kubernetes.client.okhttp.OkHttpClientBuilderImpl.class);
try {
combined.add(Class.forName("io.fabric8.kubernetes.client.okhttp.OkHttpClientBuilderImpl"));
} catch (ClassNotFoundException e) {
throw new RuntimeException(e);
}
combined combined
.stream() .stream()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment