mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 16:16:23 +00:00
- Kustomize 기반 환경별 매니페스트 구성 (dev/staging/prod) - Base 및 Overlay 구조로 환경별 설정 분리 - 각 환경별 Deployment, Service, ConfigMap, Secret 패치 적용 - Jenkinsfile 작성 (Gradle JDK21, SonarQube, Quality Gate 포함) - 환경별 설정 파일 및 수동 배포 스크립트 생성 - Jenkins CI/CD 가이드 문서 및 검증 스크립트 작성 - DEV 환경 Ingress Host를 base와 동일하게 수정 (체크리스트 준수) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
808 B
YAML
28 lines
808 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: common-config
|
|
data:
|
|
# Production Spring profiles
|
|
SPRING_PROFILES_ACTIVE: "prod"
|
|
|
|
# Production database settings
|
|
DDL_AUTO: "validate"
|
|
|
|
# Production logging level
|
|
LOGGING_LEVEL_ROOT: "INFO"
|
|
LOGGING_LEVEL_COM_PHONEBILL: "INFO"
|
|
|
|
# Production security settings
|
|
SECURITY_CORS_ALLOWED_ORIGINS: "https://phonebill.production-domain.com"
|
|
|
|
# JWT Token settings for production (shorter expiry for security)
|
|
JWT_EXPIRATION: "1800000" # 30 minutes
|
|
|
|
# Redis settings for production
|
|
REDIS_HOST: "redis-service.phonebill-prod.svc.cluster.local"
|
|
REDIS_PORT: "6379"
|
|
|
|
# Production specific configurations
|
|
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "health,info,prometheus"
|
|
MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILS: "when-authorized" |