diff --git a/extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/KubernetesClientProcessor.java b/extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/KubernetesClientProcessor.java index d171af78abf749..3228c1b60afef6 100644 --- a/extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/KubernetesClientProcessor.java +++ b/extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/KubernetesClientProcessor.java @@ -207,6 +207,13 @@ public void process(ApplicationIndexBuildItem applicationIndex, CombinedIndexBui reflectiveClasses .produce(new ReflectiveClassBuildItem(true, true, VersionInfo.class.getName())); + // exec credentials support - we need to use Strings as the classes are private + reflectiveClasses + .produce(new ReflectiveClassBuildItem(true, true, + "io.fabric8.kubernetes.client.Config$ExecCredential", + "io.fabric8.kubernetes.client.Config$ExecCredentialSpec", + "io.fabric8.kubernetes.client.Config$ExecCredentialStatus")); + if (log.isDebugEnabled()) { final String watchedClassNames = watchedClasses .stream().map(Object::toString)