fabric8io / kubernetes-client

Java client for Kubernetes & OpenShift
http://fabric8.io
Apache License 2.0
3.42k stars 1.47k forks source link

Remove unused impersonate-related fields from Config #6565

Closed manusa closed 3 weeks ago

manusa commented 3 weeks ago

Description

Part of #6516

The Kubernetes Client Config class contains several fields that are not used, they should be removed.

The following list contains the fields that need removal:

These fields are now part of RequestConfig and the user sets them for each request:

client
  .withRequestConfig(new RequestConfigBuilder()
    .withImpersonateUserName($impersonateUserName)
    .build())
  .call(/*...*/);
manusa commented 3 weeks ago

Not applicable, the fields are still needed for the Builder generation. What needs to be changed is the setting of defaults for the rest of the fields.