Files
Bruno GaoandQwen-Coder a6a016e5ea feat: Batch 9 - Actuator security, metrics, cache resilience and K8s deployments
- Implement dual-tier security with ActuatorSecurityConfig having higher priority
- Add metrics collection for order creation with tenant tagging
- Enhance cache resilience with graceful error handling
- Create custom Redis ping health indicator
- Add comprehensive K8s deployment manifests with Kustomize overlays
- Update OrderController to align with Batch 8 AppService methods
- Configure management endpoints with separate port in production
- Add deployment scripts for image tag updates

Co-authored-by: Qwen-Coder <[email protected]>
2026-02-12 19:22:08 +08:00

37 lines
712 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
namePrefix: dev-
patches:
- target:
kind: Deployment
name: tmpl-api
patch: |
- op: replace
path: /spec/replicas
value: 1
- target:
kind: ConfigMap
name: tmpl-api-config
patch: |
- op: replace
path: /data/SPRING_PROFILES_ACTIVE
value: "dev,redis"
- target:
kind: Secret
name: tmpl-api-secret
patch: |
- op: replace
path: /stringData/SPRING_DATASOURCE_URL
value: "jdbc:postgresql://dev-postgres:5432/tmpl_dev"
images:
- name: tmpl-api
newName: registry.example.com/tmpl-api
newTag: latest