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>
78 lines
1.8 KiB
YAML
78 lines
1.8 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
metadata:
|
|
name: phonebill-prod
|
|
|
|
namespace: phonebill-prod
|
|
|
|
resources:
|
|
- ../../base
|
|
|
|
commonLabels:
|
|
environment: prod
|
|
|
|
images:
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/api-gateway
|
|
newTag: prod-latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/user-service
|
|
newTag: prod-latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/bill-service
|
|
newTag: prod-latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/product-service
|
|
newTag: prod-latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/kos-mock
|
|
newTag: prod-latest
|
|
|
|
patches:
|
|
# ConfigMap patches
|
|
- path: configmap-common-patch.yaml
|
|
target:
|
|
kind: ConfigMap
|
|
name: common-config
|
|
|
|
# Secret patches
|
|
- path: secret-common-patch.yaml
|
|
target:
|
|
kind: Secret
|
|
name: common-secret
|
|
- path: secret-user-service-patch.yaml
|
|
target:
|
|
kind: Secret
|
|
name: user-service-secret
|
|
- path: secret-bill-service-patch.yaml
|
|
target:
|
|
kind: Secret
|
|
name: bill-service-secret
|
|
- path: secret-product-service-patch.yaml
|
|
target:
|
|
kind: Secret
|
|
name: product-service-secret
|
|
|
|
# Ingress patches
|
|
- path: ingress-patch.yaml
|
|
target:
|
|
kind: Ingress
|
|
name: phonebill-ingress
|
|
|
|
# Deployment patches
|
|
- path: deployment-api-gateway-patch.yaml
|
|
target:
|
|
kind: Deployment
|
|
name: api-gateway
|
|
- path: deployment-user-service-patch.yaml
|
|
target:
|
|
kind: Deployment
|
|
name: user-service
|
|
- path: deployment-bill-service-patch.yaml
|
|
target:
|
|
kind: Deployment
|
|
name: bill-service
|
|
- path: deployment-product-service-patch.yaml
|
|
target:
|
|
kind: Deployment
|
|
name: product-service
|
|
- path: deployment-kos-mock-patch.yaml
|
|
target:
|
|
kind: Deployment
|
|
name: kos-mock |