Skip to content

Commit

Permalink
Ensure that k8s client's ExecConfig works properly in native mode
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Jan 3, 2023
1 parent 6014d34 commit 0491d6f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0491d6f

Please sign in to comment.