updated file for kustomization production

This commit is contained in:
syifa 2025-11-07 04:39:54 +00:00
parent 3e50045bc4
commit b629f31efd
1 changed files with 19 additions and 7 deletions

View File

@ -1,13 +1,25 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: intern-workspace
namePrefix: prod-
# Ganti 'commonLabels' ke 'labels' (yang baru)
labels:
- pairs:
environment: production
# Referensi ke base
resources: resources:
- ../../k8s - ../../k8s
namespace: intern-workspace # Ganti deprecated field
namePrefix: prod- patches:
commonLabels: - path: patch-deployment.yaml
environment: production target:
kind: Deployment
patchesStrategicMerge: name: backend-app-syifa
- patch-deployment.yaml - path: patch-deployment.yaml
target:
kind: Deployment
name: frontend-app-syifa