Skip to content

Commit 7a50f05

Browse files
committed
refactor: 프로메테우스 관련 Basic Auth 설정 해제
1 parent 7302153 commit 7a50f05

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

backend/src/main/java/io/f1/backend/global/config/SecurityConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public SecurityFilterChain userFilterChain(HttpSecurity http) throws Exception {
5050
"/signup",
5151
"/css/**",
5252
"/js/**",
53-
"/admin/login")
53+
"/admin/login",
54+
actuatorBasePath + "/**")
5455
.permitAll()
5556
.requestMatchers(HttpMethod.OPTIONS, "/**")
5657
.permitAll()

backend/src/main/resources/application.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ spring:
7676
activate:
7777
on-profile: dev
7878

79-
security:
80-
user:
81-
name: ${PROM_NAME}
82-
password: ${PROM_PASSWORD}
83-
roles: PROMETHEUS
84-
8579
management:
8680
server:
8781
port: ${ACTUATOR_PORT}
@@ -99,12 +93,6 @@ spring:
9993
activate:
10094
on-profile: prod
10195

102-
security:
103-
user:
104-
name: ${PROM_NAME}
105-
password: ${PROM_PASSWORD}
106-
roles: PROMETHEUS
107-
10896
# TODO: Flyway 추가와 함께 설정이 필요한 항목들
10997
# sql:
11098
# init:

0 commit comments

Comments
 (0)