mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 16:16:23 +00:00
- GitHub Actions 전용 Kustomize 매니페스트 생성 (.github/kustomize/) - 환경별 Overlay 구성 (dev/staging/prod) - Base Kustomization 및 환경별 패치 파일 작성 - GitHub Actions 워크플로우 파일 작성 (.github/workflows/backend-cicd.yaml) - 환경별 설정 파일 및 수동 배포 스크립트 작성 - CI/CD 구축 가이드 문서 생성 (.github/deploy-actions-cicd-back.md) 주요 기능: - 자동 빌드/테스트/배포 파이프라인 - SonarQube 코드 품질 분석 (선택적) - 환경별 최적화 설정 (리소스, 보안, 도메인) - ACR 기반 컨테이너 이미지 관리 - 헬스체크 및 롤백 지원
57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
metadata:
|
|
name: phonebill-base
|
|
|
|
resources:
|
|
# Common resources
|
|
- namespace.yaml
|
|
- common/cm-common.yaml
|
|
- common/secret-common.yaml
|
|
- common/secret-imagepull.yaml
|
|
- common/ingress.yaml
|
|
|
|
# API Gateway
|
|
- api-gateway/deployment.yaml
|
|
- api-gateway/service.yaml
|
|
- api-gateway/cm-api-gateway.yaml
|
|
|
|
# User Service
|
|
- user-service/deployment.yaml
|
|
- user-service/service.yaml
|
|
- user-service/cm-user-service.yaml
|
|
- user-service/secret-user-service.yaml
|
|
|
|
# Bill Service
|
|
- bill-service/deployment.yaml
|
|
- bill-service/service.yaml
|
|
- bill-service/cm-bill-service.yaml
|
|
- bill-service/secret-bill-service.yaml
|
|
|
|
# Product Service
|
|
- product-service/deployment.yaml
|
|
- product-service/service.yaml
|
|
- product-service/cm-product-service.yaml
|
|
- product-service/secret-product-service.yaml
|
|
|
|
# KOS Mock
|
|
- kos-mock/deployment.yaml
|
|
- kos-mock/service.yaml
|
|
- kos-mock/cm-kos-mock.yaml
|
|
|
|
commonLabels:
|
|
app: phonebill
|
|
version: v1
|
|
|
|
images:
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/api-gateway
|
|
newTag: latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/user-service
|
|
newTag: latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/bill-service
|
|
newTag: latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/product-service
|
|
newTag: latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/kos-mock
|
|
newTag: latest |