From 6662ec7e9e8359a17c69acd5e6eaae0568764879 Mon Sep 17 00:00:00 2001 From: Syifa Date: Thu, 23 Oct 2025 16:14:22 +0700 Subject: [PATCH] remove staging and production overlays from tracking --- overlays/production/kustomization.yaml | 13 ---------- overlays/production/patch-deployment.yaml | 30 ----------------------- overlays/staging/kustomization.yaml | 13 ---------- overlays/staging/patch-deployment.yaml | 30 ----------------------- 4 files changed, 86 deletions(-) delete mode 100644 overlays/production/kustomization.yaml delete mode 100644 overlays/production/patch-deployment.yaml delete mode 100644 overlays/staging/kustomization.yaml delete mode 100644 overlays/staging/patch-deployment.yaml diff --git a/overlays/production/kustomization.yaml b/overlays/production/kustomization.yaml deleted file mode 100644 index 94e56b5..0000000 --- a/overlays/production/kustomization.yaml +++ /dev/null @@ -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 diff --git a/overlays/production/patch-deployment.yaml b/overlays/production/patch-deployment.yaml deleted file mode 100644 index e19f00a..0000000 --- a/overlays/production/patch-deployment.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/overlays/staging/kustomization.yaml b/overlays/staging/kustomization.yaml deleted file mode 100644 index 064e109..0000000 --- a/overlays/staging/kustomization.yaml +++ /dev/null @@ -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 diff --git a/overlays/staging/patch-deployment.yaml b/overlays/staging/patch-deployment.yaml deleted file mode 100644 index aa78eb2..0000000 --- a/overlays/staging/patch-deployment.yaml +++ /dev/null @@ -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 \ No newline at end of file