Skip to content

Commit 5f9582c

Browse files
committed
refactor: k8s rest client
1 parent 2387556 commit 5f9582c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/project/auth/global/config/ClientConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ public class ClientConfig {
1212
@Bean
1313
public RestClient userRestClient() {
1414
return RestClient.builder()
15-
.baseUrl("http://localhost:51234")
16-
// .baseUrl("http://user-service.default.svc.cluster.local:8080")
15+
.baseUrl("http://user-service.microservices-dev.svc.cluster.local:8080")
1716
.requestFactory(new HttpComponentsClientHttpRequestFactory(HttpClients.createDefault()))
1817
.defaultHeader("X-Internal-Call", "auth-service")
1918
.build();

0 commit comments

Comments
 (0)