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