apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: kt-event-marketing

bases:
  - ../../base

# Environment-specific labels
commonLabels:
  environment: staging

# Environment-specific patches
patchesStrategicMerge:
  - user-service-patch.yaml
  - event-service-patch.yaml
  - ai-service-patch.yaml
  - content-service-patch.yaml
  - distribution-service-patch.yaml
  - participation-service-patch.yaml
  - analytics-service-patch.yaml

# Override image tags for staging environment
images:
  - name: acrdigitalgarage01.azurecr.io/kt-event-marketing/user-service
    newTag: staging
  - name: acrdigitalgarage01.azurecr.io/kt-event-marketing/event-service
    newTag: staging
  - name: acrdigitalgarage01.azurecr.io/kt-event-marketing/ai-service
    newTag: staging
  - name: acrdigitalgarage01.azurecr.io/kt-event-marketing/content-service
    newTag: staging
  - name: acrdigitalgarage01.azurecr.io/kt-event-marketing/distribution-service
    newTag: staging
  - name: acrdigitalgarage01.azurecr.io/kt-event-marketing/participation-service
    newTag: staging
  - name: acrdigitalgarage01.azurecr.io/kt-event-marketing/analytics-service
    newTag: staging
