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
Fixes: quarkusio#30151
(cherry picked from commit 0491d6f)
  • Loading branch information
geoand authored and gsmet committed Jan 4, 2023
1 parent 1da3c22 commit 02774a4
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 02774a4

Please sign in to comment.