Skip to content

Commit

Permalink
fix: fix custom kube config not working (#295)
Browse files Browse the repository at this point in the history
Co-authored-by: Kent Dong <[email protected]>
  • Loading branch information
liuqiufeng and CH3CHO authored Mar 3, 2024
1 parent b389e17 commit b18c290
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 b18c290

Please sign in to comment.