From b629f31efdf25e2ea2a193ee29bd0a9054370871 Mon Sep 17 00:00:00 2001 From: syifa Date: Fri, 7 Nov 2025 04:39:54 +0000 Subject: [PATCH] updated file for kustomization production --- overlays/production/kustomization.yaml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/overlays/production/kustomization.yaml b/overlays/production/kustomization.yaml index 94e56b5..ca1a773 100644 --- a/overlays/production/kustomization.yaml +++ b/overlays/production/kustomization.yaml @@ -1,13 +1,25 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization +namespace: intern-workspace +namePrefix: prod- + +# Ganti 'commonLabels' ke 'labels' (yang baru) +labels: + - pairs: + environment: production + +# Referensi ke base resources: - ../../k8s -namespace: intern-workspace -namePrefix: prod- -commonLabels: - environment: production - -patchesStrategicMerge: - - patch-deployment.yaml +# Ganti deprecated field +patches: + - path: patch-deployment.yaml + target: + kind: Deployment + name: backend-app-syifa + - path: patch-deployment.yaml + target: + kind: Deployment + name: frontend-app-syifa \ No newline at end of file