Skip to content

Commit

Permalink
Merge pull request #30153 from geoand/#30151
Browse files Browse the repository at this point in the history
Ensure that k8s client's ExecConfig works properly in native mode
  • Loading branch information
gsmet authored Jan 3, 2023
2 parents 6014d34 + 0491d6f commit 4dd3936
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 4dd3936

Please sign in to comment.