remove staging and production overlays from tracking

This commit is contained in:
Syifa 2025-10-23 16:14:22 +07:00
parent c7b618549d
commit 6662ec7e9e
4 changed files with 0 additions and 86 deletions

View File

@ -1,13 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../k8s
namespace: intern-workspace
namePrefix: prod-
commonLabels:
environment: production
patchesStrategicMerge:
- patch-deployment.yaml

View File

@ -1,30 +0,0 @@
# ==========================
# BACKEND PATCH
# ==========================
apiVersion: apps/v1
kind: Deployment
metadata:
name: backend-app-syifa
spec:
replicas: 3
template:
spec:
containers:
- name: backend
image: docker.io/syifamaulidya/backend-app:production # <-- Jenkins nanti ganti otomatis ke vX
---
# ==========================
# FRONTEND PATCH
# ==========================
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend-app-syifa
spec:
replicas: 3
template:
spec:
containers:
- name: frontend
image: docker.io/syifamaulidya/frontend-app:production # <-- Jenkins juga ganti otomatis

View File

@ -1,13 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../k8s
namespace: intern-workspace
namePrefix: staging-
commonLabels:
environment: staging
patchesStrategicMerge:
- patch-deployment.yaml

View File

@ -1,30 +0,0 @@
# ==========================
# BACKEND PATCH
# ==========================
apiVersion: apps/v1
kind: Deployment
metadata:
name: backend-app-syifa
spec:
replicas: 2
template:
spec:
containers:
- name: backend
image: docker.io/syifamaulidya/backend-app:staging # <-- Jenkins nanti ganti otomatis ke vX
---
# ==========================
# FRONTEND PATCH
# ==========================
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend-app-syifa
spec:
replicas: 2
template:
spec:
containers:
- name: frontend
image: docker.io/syifamaulidya/frontend-app:staging # <-- Jenkins juga ganti otomatis