mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 16:16:23 +00:00
- Kustomize 기반 환경별(dev/staging/prod) 매니페스트 관리 - Jenkins 파이프라인 스크립트 작성 (Podman, Gradle, kubectl 컨테이너) - SonarQube 코드 품질 분석 및 Quality Gate 연동 - 수동 배포 및 리소스 검증 스크립트 추가 - k8s 매니페스트 구조 재정리 (configmaps, secrets, deployments, services 분리) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
71 lines
1.6 KiB
YAML
71 lines
1.6 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: phonebill
|
|
|
|
resources:
|
|
- ../../base
|
|
|
|
patches:
|
|
# Common patches
|
|
- path: cm-common-patch.yaml
|
|
target:
|
|
kind: ConfigMap
|
|
name: phonebill-common-config
|
|
- path: secret-common-patch.yaml
|
|
target:
|
|
kind: Secret
|
|
name: phonebill-common-secret
|
|
- 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
|
|
|
|
# Service Secret patches
|
|
- path: secret-user-service-patch.yaml
|
|
target:
|
|
kind: Secret
|
|
name: user-service-db-secret
|
|
- path: secret-bill-service-patch.yaml
|
|
target:
|
|
kind: Secret
|
|
name: bill-service-db-secret
|
|
- path: secret-product-service-patch.yaml
|
|
target:
|
|
kind: Secret
|
|
name: product-service-db-secret
|
|
|
|
images:
|
|
- name: docker.io/hiondal/api-gateway
|
|
newTag: latest
|
|
- name: docker.io/hiondal/user-service
|
|
newTag: latest
|
|
- name: docker.io/hiondal/bill-service
|
|
newTag: latest
|
|
- name: docker.io/hiondal/product-service
|
|
newTag: latest
|
|
- name: docker.io/hiondal/kos-mock
|
|
newTag: latest
|