From a1d5cc248b6b0d4fe404102bd1e89e05ac0e1145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B7=B8=EB=B6=84?= <1210thatman@gmail.com> Date: Tue, 9 Jun 2026 19:11:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Flyway=20missing=20migration=20=EB=AC=B4?= =?UTF-8?q?=EC=8B=9C=20=EB=B0=8F=20actuator=20Security=20=ED=97=88?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - stag DB에 로컬에 없는 마이그레이션(202605142007)으로 인한 CrashLoopBackOff 수정 - /actuator/** 경로 Security permitAll 추가로 Prometheus 엔드포인트 접근 허용 Co-Authored-By: Claude Sonnet 4.6 --- .../kotlin/dsm/pick2024/global/security/path/SecurityPaths.kt | 1 + src/main/resources/application.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main/kotlin/dsm/pick2024/global/security/path/SecurityPaths.kt b/src/main/kotlin/dsm/pick2024/global/security/path/SecurityPaths.kt index ed2642ca..9da6625c 100644 --- a/src/main/kotlin/dsm/pick2024/global/security/path/SecurityPaths.kt +++ b/src/main/kotlin/dsm/pick2024/global/security/path/SecurityPaths.kt @@ -2,6 +2,7 @@ package dsm.pick2024.global.security.path object SecurityPaths { val PERMIT_ALL_ENDPOINTS = arrayOf( + "/actuator/**", "/admin/login", "/admin/refresh", "/user/login", diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 0cb50d09..e38b9e1f 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -54,6 +54,8 @@ spring: enabled: true baseline-on-migrate: true baseline-version: 1 + out-of-order: true + ignore-missing-migrations: true locations: - classpath:db/migration