Skip to content

Commit

Permalink
bugfix: fix custom kube config not working
Browse files Browse the repository at this point in the history
  • Loading branch information
liuqiufeng committed Mar 1, 2024
1 parent c1ceaca commit f675bb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class SdkConfig {

@PostConstruct
public void initialize() throws IOException {
HigressServiceConfig config = HigressServiceConfig.builder().withIngressClassName(controllerIngressClassName)
HigressServiceConfig config = HigressServiceConfig.builder().withKubeConfigPath(kubeConfig).withIngressClassName(controllerIngressClassName)
.withControllerNamespace(controllerNamespace).withControllerServiceName(controllerServiceName)
.withControllerServiceHost(controllerServiceHost).withControllerServicePort(controllerServicePort)
.withControllerJwtPolicy(controllerJwtPolicy).withControllerAccessToken(controllerAccessToken).build();
Expand Down

0 comments on commit f675bb7

Please sign in to comment.