updated file for kustomization production
This commit is contained in:
parent
3e50045bc4
commit
b629f31efd
|
|
@ -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
|
||||
Loading…
Reference in New Issue