From 8856d7edaf3705177eadc5645f0be50129faa5d5 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Date: Thu, 9 Apr 2026 06:47:26 +0200 Subject: [PATCH] chore: remove old NestJS/Next.js stack manifests and ArgoCD apps --- .../base/configmap.yaml | 9 -- .../base/deployment.yaml | 52 --------- .../nxtgauge-admin-frontend/base/ingress.yaml | 18 ---- .../base/kustomization.yaml | 9 -- .../base/namespace.yaml | 4 - apps/nxtgauge-admin-frontend/base/secret.yaml | 14 --- .../nxtgauge-admin-frontend/base/service.yaml | 16 --- .../overlays/prod/kustomization.yaml | 9 -- .../overlays/prod/replicas-patch.yaml | 7 -- .../base/catering-services-deployment.yaml | 46 -------- .../base/catering-services-service.yaml | 16 --- .../base/companies-deployment.yaml | 42 -------- .../base/companies-service.yaml | 16 --- apps/nxtgauge-backend/base/configmap.yaml | 22 ---- .../base/customers-deployment.yaml | 44 -------- .../base/customers-service.yaml | 16 --- apps/nxtgauge-backend/base/deployment.yaml | 102 ------------------ .../base/developers-deployment.yaml | 46 -------- .../base/developers-service.yaml | 16 --- .../base/fitness-trainers-deployment.yaml | 46 -------- .../base/fitness-trainers-service.yaml | 16 --- .../base/graphic-designers-deployment.yaml | 46 -------- .../base/graphic-designers-service.yaml | 16 --- apps/nxtgauge-backend/base/ingress.yaml | 18 ---- .../base/jobseekers-deployment.yaml | 44 -------- .../base/jobseekers-service.yaml | 16 --- apps/nxtgauge-backend/base/kustomization.yaml | 35 ------ .../base/makeup-artists-deployment.yaml | 46 -------- .../base/makeup-artists-service.yaml | 16 --- apps/nxtgauge-backend/base/namespace.yaml | 4 - .../base/photographers-deployment.yaml | 46 -------- .../base/photographers-service.yaml | 16 --- apps/nxtgauge-backend/base/secret.yaml | 22 ---- apps/nxtgauge-backend/base/service.yaml | 16 --- .../social-media-managers-deployment.yaml | 46 -------- .../base/social-media-managers-service.yaml | 16 --- .../base/tutors-deployment.yaml | 46 -------- .../nxtgauge-backend/base/tutors-service.yaml | 16 --- .../base/users-deployment.yaml | 44 -------- apps/nxtgauge-backend/base/users-service.yaml | 16 --- .../base/video-editors-deployment.yaml | 46 -------- .../base/video-editors-service.yaml | 16 --- .../overlays/prod/kustomization.yaml | 9 -- .../overlays/prod/replicas-patch.yaml | 7 -- .../base/configmap.yaml | 9 -- .../base/deployment.yaml | 52 --------- .../base/ingress.yaml | 18 ---- .../base/kustomization.yaml | 9 -- .../base/namespace.yaml | 4 - .../nxtgauge-frontendwebsite/base/secret.yaml | 14 --- .../base/service.yaml | 16 --- .../overlays/prod/kustomization.yaml | 9 -- .../overlays/prod/replicas-patch.yaml | 7 -- .../nxtgauge-admin-frontend-application.yaml | 25 ----- argocd/nxtgauge-backend-application.yaml | 25 ----- .../nxtgauge-frontendwebsite-application.yaml | 25 ----- 56 files changed, 1382 deletions(-) delete mode 100644 apps/nxtgauge-admin-frontend/base/configmap.yaml delete mode 100644 apps/nxtgauge-admin-frontend/base/deployment.yaml delete mode 100644 apps/nxtgauge-admin-frontend/base/ingress.yaml delete mode 100644 apps/nxtgauge-admin-frontend/base/kustomization.yaml delete mode 100644 apps/nxtgauge-admin-frontend/base/namespace.yaml delete mode 100644 apps/nxtgauge-admin-frontend/base/secret.yaml delete mode 100644 apps/nxtgauge-admin-frontend/base/service.yaml delete mode 100644 apps/nxtgauge-admin-frontend/overlays/prod/kustomization.yaml delete mode 100644 apps/nxtgauge-admin-frontend/overlays/prod/replicas-patch.yaml delete mode 100644 apps/nxtgauge-backend/base/catering-services-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/catering-services-service.yaml delete mode 100644 apps/nxtgauge-backend/base/companies-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/companies-service.yaml delete mode 100644 apps/nxtgauge-backend/base/configmap.yaml delete mode 100644 apps/nxtgauge-backend/base/customers-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/customers-service.yaml delete mode 100644 apps/nxtgauge-backend/base/deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/developers-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/developers-service.yaml delete mode 100644 apps/nxtgauge-backend/base/fitness-trainers-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/fitness-trainers-service.yaml delete mode 100644 apps/nxtgauge-backend/base/graphic-designers-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/graphic-designers-service.yaml delete mode 100644 apps/nxtgauge-backend/base/ingress.yaml delete mode 100644 apps/nxtgauge-backend/base/jobseekers-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/jobseekers-service.yaml delete mode 100644 apps/nxtgauge-backend/base/kustomization.yaml delete mode 100644 apps/nxtgauge-backend/base/makeup-artists-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/makeup-artists-service.yaml delete mode 100644 apps/nxtgauge-backend/base/namespace.yaml delete mode 100644 apps/nxtgauge-backend/base/photographers-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/photographers-service.yaml delete mode 100644 apps/nxtgauge-backend/base/secret.yaml delete mode 100644 apps/nxtgauge-backend/base/service.yaml delete mode 100644 apps/nxtgauge-backend/base/social-media-managers-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/social-media-managers-service.yaml delete mode 100644 apps/nxtgauge-backend/base/tutors-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/tutors-service.yaml delete mode 100644 apps/nxtgauge-backend/base/users-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/users-service.yaml delete mode 100644 apps/nxtgauge-backend/base/video-editors-deployment.yaml delete mode 100644 apps/nxtgauge-backend/base/video-editors-service.yaml delete mode 100644 apps/nxtgauge-backend/overlays/prod/kustomization.yaml delete mode 100644 apps/nxtgauge-backend/overlays/prod/replicas-patch.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/base/configmap.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/base/deployment.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/base/ingress.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/base/kustomization.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/base/namespace.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/base/secret.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/base/service.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/overlays/prod/kustomization.yaml delete mode 100644 apps/nxtgauge-frontendwebsite/overlays/prod/replicas-patch.yaml delete mode 100644 argocd/nxtgauge-admin-frontend-application.yaml delete mode 100644 argocd/nxtgauge-backend-application.yaml delete mode 100644 argocd/nxtgauge-frontendwebsite-application.yaml diff --git a/apps/nxtgauge-admin-frontend/base/configmap.yaml b/apps/nxtgauge-admin-frontend/base/configmap.yaml deleted file mode 100644 index 9d2aa66..0000000 --- a/apps/nxtgauge-admin-frontend/base/configmap.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: nxtgauge-admin-frontend-config - namespace: nxtgauge -data: - NODE_ENV: "production" - PORT: "3000" - NEXT_PUBLIC_API_URL: "/api" diff --git a/apps/nxtgauge-admin-frontend/base/deployment.yaml b/apps/nxtgauge-admin-frontend/base/deployment.yaml deleted file mode 100644 index 63cfdfe..0000000 --- a/apps/nxtgauge-admin-frontend/base/deployment.yaml +++ /dev/null @@ -1,52 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-admin-frontend - namespace: nxtgauge - labels: - app: nxtgauge-admin-frontend -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-admin-frontend - template: - metadata: - labels: - app: nxtgauge-admin-frontend - spec: - containers: - - name: admin-frontend - image: ghcr.io/traceworks2023/nxtgauge-nov-2025-frontend - imagePullPolicy: Always - ports: - - containerPort: 3000 - name: http - envFrom: - - configMapRef: - name: nxtgauge-admin-frontend-config - - secretRef: - name: nxtgauge-admin-frontend-secrets - readinessProbe: - httpGet: - path: / - port: 3000 - initialDelaySeconds: 10 - periodSeconds: 10 - timeoutSeconds: 3 - failureThreshold: 3 - livenessProbe: - httpGet: - path: / - port: 3000 - initialDelaySeconds: 20 - periodSeconds: 20 - timeoutSeconds: 3 - failureThreshold: 3 - resources: - requests: - cpu: 100m - memory: 128Mi - limits: - cpu: 500m - memory: 512Mi diff --git a/apps/nxtgauge-admin-frontend/base/ingress.yaml b/apps/nxtgauge-admin-frontend/base/ingress.yaml deleted file mode 100644 index e57f98c..0000000 --- a/apps/nxtgauge-admin-frontend/base/ingress.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: nxtgauge-admin-frontend - namespace: nxtgauge -spec: - ingressClassName: traefik - rules: - - host: admin.nxtgauge.com - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: nxtgauge-admin-frontend - port: - number: 80 diff --git a/apps/nxtgauge-admin-frontend/base/kustomization.yaml b/apps/nxtgauge-admin-frontend/base/kustomization.yaml deleted file mode 100644 index dffdde5..0000000 --- a/apps/nxtgauge-admin-frontend/base/kustomization.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - namespace.yaml - - configmap.yaml - - secret.yaml - - deployment.yaml - - service.yaml - - ingress.yaml diff --git a/apps/nxtgauge-admin-frontend/base/namespace.yaml b/apps/nxtgauge-admin-frontend/base/namespace.yaml deleted file mode 100644 index 358f183..0000000 --- a/apps/nxtgauge-admin-frontend/base/namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: nxtgauge diff --git a/apps/nxtgauge-admin-frontend/base/secret.yaml b/apps/nxtgauge-admin-frontend/base/secret.yaml deleted file mode 100644 index 6b7ebeb..0000000 --- a/apps/nxtgauge-admin-frontend/base/secret.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: nxtgauge-admin-frontend-secrets - namespace: nxtgauge -type: Opaque -stringData: - MAIL_FROM: "noreply@nxtgauge.com" - MAIL_SMTP_HOST: "mail.nxtgauge.com" - MAIL_SMTP_PORT: "587" - MAIL_SMTP_SECURE: "false" - MAIL_SMTP_STARTTLS: "true" - MAIL_SMTP_USER: "noreply@nxtgauge.com" - MAIL_SMTP_PASS: "Admin@36541" diff --git a/apps/nxtgauge-admin-frontend/base/service.yaml b/apps/nxtgauge-admin-frontend/base/service.yaml deleted file mode 100644 index 007da41..0000000 --- a/apps/nxtgauge-admin-frontend/base/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-admin-frontend - namespace: nxtgauge - labels: - app: nxtgauge-admin-frontend -spec: - type: ClusterIP - selector: - app: nxtgauge-admin-frontend - ports: - - name: http - port: 80 - targetPort: 3000 - protocol: TCP diff --git a/apps/nxtgauge-admin-frontend/overlays/prod/kustomization.yaml b/apps/nxtgauge-admin-frontend/overlays/prod/kustomization.yaml deleted file mode 100644 index eda6f20..0000000 --- a/apps/nxtgauge-admin-frontend/overlays/prod/kustomization.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - ../../base -patchesStrategicMerge: - - replicas-patch.yaml -images: - - name: ghcr.io/traceworks2023/nxtgauge-nov-2025-frontend - newTag: testingcodex-latest diff --git a/apps/nxtgauge-admin-frontend/overlays/prod/replicas-patch.yaml b/apps/nxtgauge-admin-frontend/overlays/prod/replicas-patch.yaml deleted file mode 100644 index 77fe5b4..0000000 --- a/apps/nxtgauge-admin-frontend/overlays/prod/replicas-patch.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-admin-frontend - namespace: nxtgauge -spec: - replicas: 1 diff --git a/apps/nxtgauge-backend/base/catering-services-deployment.yaml b/apps/nxtgauge-backend/base/catering-services-deployment.yaml deleted file mode 100644 index e7f41ac..0000000 --- a/apps/nxtgauge-backend/base/catering-services-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-catering-services - namespace: nxtgauge - labels: - app: nxtgauge-catering-services -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-catering-services - template: - metadata: - labels: - app: nxtgauge-catering-services - spec: - containers: - - name: catering-services - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50063 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "catering_services" - - name: PROFESSIONALS_PORT - value: "50063" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50063 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50063 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/catering-services-service.yaml b/apps/nxtgauge-backend/base/catering-services-service.yaml deleted file mode 100644 index c7f6e0f..0000000 --- a/apps/nxtgauge-backend/base/catering-services-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-catering-services - namespace: nxtgauge - labels: - app: nxtgauge-catering-services -spec: - type: ClusterIP - selector: - app: nxtgauge-catering-services - ports: - - name: grpc - port: 50063 - targetPort: 50063 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/companies-deployment.yaml b/apps/nxtgauge-backend/base/companies-deployment.yaml deleted file mode 100644 index e88f984..0000000 --- a/apps/nxtgauge-backend/base/companies-deployment.yaml +++ /dev/null @@ -1,42 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-companies - namespace: nxtgauge - labels: - app: nxtgauge-companies -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-companies - template: - metadata: - labels: - app: nxtgauge-companies - spec: - containers: - - name: companies - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50051 - name: grpc - env: - - name: APP - value: "companies" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50051 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50051 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/companies-service.yaml b/apps/nxtgauge-backend/base/companies-service.yaml deleted file mode 100644 index 8afe736..0000000 --- a/apps/nxtgauge-backend/base/companies-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-companies - namespace: nxtgauge - labels: - app: nxtgauge-companies -spec: - type: ClusterIP - selector: - app: nxtgauge-companies - ports: - - name: grpc - port: 50051 - targetPort: 50051 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/configmap.yaml b/apps/nxtgauge-backend/base/configmap.yaml deleted file mode 100644 index 6d42897..0000000 --- a/apps/nxtgauge-backend/base/configmap.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: nxtgauge-backend-config - namespace: nxtgauge -data: - NODE_ENV: "production" - PORT: "2002" - GATEWAY_PORT: "2002" - USERS_GRPC_URL: "nxtgauge-users:50052" - COMPANIES_GRPC_URL: "nxtgauge-companies:50051" - CUSTOMERS_GRPC_URL: "nxtgauge-customers:50057" - JOBSEEKERS_GRPC_URL: "nxtgauge-jobseekers:50058" - PHOTOGRAPHERS_GRPC_URL: "nxtgauge-photographers:50053" - MAKEUP_ARTISTS_GRPC_URL: "nxtgauge-makeup-artists:50054" - TUTORS_GRPC_URL: "nxtgauge-tutors:50055" - DEVELOPERS_GRPC_URL: "nxtgauge-developers:50056" - VIDEO_EDITORS_GRPC_URL: "nxtgauge-video-editors:50059" - GRAPHIC_DESIGNERS_GRPC_URL: "nxtgauge-graphic-designers:50060" - SOCIAL_MEDIA_MANAGERS_GRPC_URL: "nxtgauge-social-media-managers:50061" - FITNESS_TRAINERS_GRPC_URL: "nxtgauge-fitness-trainers:50062" - CATERING_SERVICES_GRPC_URL: "nxtgauge-catering-services:50063" diff --git a/apps/nxtgauge-backend/base/customers-deployment.yaml b/apps/nxtgauge-backend/base/customers-deployment.yaml deleted file mode 100644 index 19832b7..0000000 --- a/apps/nxtgauge-backend/base/customers-deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-customers - namespace: nxtgauge - labels: - app: nxtgauge-customers -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-customers - template: - metadata: - labels: - app: nxtgauge-customers - spec: - containers: - - name: customers - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50057 - name: grpc - env: - - name: APP - value: "customers" - - name: CUSTOMERS_PORT - value: "50057" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50057 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50057 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/customers-service.yaml b/apps/nxtgauge-backend/base/customers-service.yaml deleted file mode 100644 index 252e1a0..0000000 --- a/apps/nxtgauge-backend/base/customers-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-customers - namespace: nxtgauge - labels: - app: nxtgauge-customers -spec: - type: ClusterIP - selector: - app: nxtgauge-customers - ports: - - name: grpc - port: 50057 - targetPort: 50057 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/deployment.yaml b/apps/nxtgauge-backend/base/deployment.yaml deleted file mode 100644 index 531171b..0000000 --- a/apps/nxtgauge-backend/base/deployment.yaml +++ /dev/null @@ -1,102 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-backend - namespace: nxtgauge - labels: - app: nxtgauge-backend -spec: - replicas: 2 - selector: - matchLabels: - app: nxtgauge-backend - template: - metadata: - labels: - app: nxtgauge-backend - spec: - containers: - - name: backend - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 2002 - name: http - env: - - name: APP - value: "gateway" - - name: DATABASE_HOST - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_HOST - - name: DATABASE_PORT - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_PORT - - name: DATABASE_USER - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_USER - - name: DATABASE_PASSWORD - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_PASSWORD - - name: DATABASE_NAME - value: "nxtgauge" - - name: DATABASE_URL - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_URL - - name: DB_HOST - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_HOST - - name: DB_PORT - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_PORT - - name: DB_USERNAME - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_USER - - name: DB_PASSWORD - valueFrom: - secretKeyRef: - name: nxtgauge-backend-secrets - key: DATABASE_PASSWORD - - name: DB_NAME - value: "nxtgauge" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 2002 - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 2 - failureThreshold: 3 - livenessProbe: - tcpSocket: - port: 2002 - initialDelaySeconds: 15 - periodSeconds: 20 - timeoutSeconds: 2 - failureThreshold: 3 - resources: - requests: - cpu: 100m - memory: 128Mi - limits: - cpu: 500m - memory: 512Mi diff --git a/apps/nxtgauge-backend/base/developers-deployment.yaml b/apps/nxtgauge-backend/base/developers-deployment.yaml deleted file mode 100644 index ff730ff..0000000 --- a/apps/nxtgauge-backend/base/developers-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-developers - namespace: nxtgauge - labels: - app: nxtgauge-developers -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-developers - template: - metadata: - labels: - app: nxtgauge-developers - spec: - containers: - - name: developers - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50056 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "developer" - - name: PROFESSIONALS_PORT - value: "50056" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50056 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50056 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/developers-service.yaml b/apps/nxtgauge-backend/base/developers-service.yaml deleted file mode 100644 index e9d7971..0000000 --- a/apps/nxtgauge-backend/base/developers-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-developers - namespace: nxtgauge - labels: - app: nxtgauge-developers -spec: - type: ClusterIP - selector: - app: nxtgauge-developers - ports: - - name: grpc - port: 50056 - targetPort: 50056 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/fitness-trainers-deployment.yaml b/apps/nxtgauge-backend/base/fitness-trainers-deployment.yaml deleted file mode 100644 index 7d0028b..0000000 --- a/apps/nxtgauge-backend/base/fitness-trainers-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-fitness-trainers - namespace: nxtgauge - labels: - app: nxtgauge-fitness-trainers -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-fitness-trainers - template: - metadata: - labels: - app: nxtgauge-fitness-trainers - spec: - containers: - - name: fitness-trainers - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50062 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "fitness_trainer" - - name: PROFESSIONALS_PORT - value: "50062" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50062 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50062 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/fitness-trainers-service.yaml b/apps/nxtgauge-backend/base/fitness-trainers-service.yaml deleted file mode 100644 index 942ff5b..0000000 --- a/apps/nxtgauge-backend/base/fitness-trainers-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-fitness-trainers - namespace: nxtgauge - labels: - app: nxtgauge-fitness-trainers -spec: - type: ClusterIP - selector: - app: nxtgauge-fitness-trainers - ports: - - name: grpc - port: 50062 - targetPort: 50062 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/graphic-designers-deployment.yaml b/apps/nxtgauge-backend/base/graphic-designers-deployment.yaml deleted file mode 100644 index 27ba9b6..0000000 --- a/apps/nxtgauge-backend/base/graphic-designers-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-graphic-designers - namespace: nxtgauge - labels: - app: nxtgauge-graphic-designers -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-graphic-designers - template: - metadata: - labels: - app: nxtgauge-graphic-designers - spec: - containers: - - name: graphic-designers - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50060 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "graphic_designer" - - name: PROFESSIONALS_PORT - value: "50060" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50060 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50060 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/graphic-designers-service.yaml b/apps/nxtgauge-backend/base/graphic-designers-service.yaml deleted file mode 100644 index 9c5fdd5..0000000 --- a/apps/nxtgauge-backend/base/graphic-designers-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-graphic-designers - namespace: nxtgauge - labels: - app: nxtgauge-graphic-designers -spec: - type: ClusterIP - selector: - app: nxtgauge-graphic-designers - ports: - - name: grpc - port: 50060 - targetPort: 50060 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/ingress.yaml b/apps/nxtgauge-backend/base/ingress.yaml deleted file mode 100644 index 043a964..0000000 --- a/apps/nxtgauge-backend/base/ingress.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: nxtgauge-backend - namespace: nxtgauge -spec: - ingressClassName: traefik - rules: - - host: api.nxtgauge.com - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: nxtgauge-backend - port: - number: 80 diff --git a/apps/nxtgauge-backend/base/jobseekers-deployment.yaml b/apps/nxtgauge-backend/base/jobseekers-deployment.yaml deleted file mode 100644 index ff97814..0000000 --- a/apps/nxtgauge-backend/base/jobseekers-deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-jobseekers - namespace: nxtgauge - labels: - app: nxtgauge-jobseekers -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-jobseekers - template: - metadata: - labels: - app: nxtgauge-jobseekers - spec: - containers: - - name: jobseekers - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50058 - name: grpc - env: - - name: APP - value: "jobseekers" - - name: JOBSEEKERS_PORT - value: "50058" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50058 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50058 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/jobseekers-service.yaml b/apps/nxtgauge-backend/base/jobseekers-service.yaml deleted file mode 100644 index eb64b37..0000000 --- a/apps/nxtgauge-backend/base/jobseekers-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-jobseekers - namespace: nxtgauge - labels: - app: nxtgauge-jobseekers -spec: - type: ClusterIP - selector: - app: nxtgauge-jobseekers - ports: - - name: grpc - port: 50058 - targetPort: 50058 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/kustomization.yaml b/apps/nxtgauge-backend/base/kustomization.yaml deleted file mode 100644 index b8fca02..0000000 --- a/apps/nxtgauge-backend/base/kustomization.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - namespace.yaml - - configmap.yaml - - secret.yaml - - deployment.yaml - - service.yaml - - users-deployment.yaml - - users-service.yaml - - companies-deployment.yaml - - companies-service.yaml - - customers-deployment.yaml - - customers-service.yaml - - jobseekers-deployment.yaml - - jobseekers-service.yaml - - photographers-deployment.yaml - - photographers-service.yaml - - makeup-artists-deployment.yaml - - makeup-artists-service.yaml - - tutors-deployment.yaml - - tutors-service.yaml - - developers-deployment.yaml - - developers-service.yaml - - video-editors-deployment.yaml - - video-editors-service.yaml - - graphic-designers-deployment.yaml - - graphic-designers-service.yaml - - social-media-managers-deployment.yaml - - social-media-managers-service.yaml - - fitness-trainers-deployment.yaml - - fitness-trainers-service.yaml - - catering-services-deployment.yaml - - catering-services-service.yaml - - ingress.yaml diff --git a/apps/nxtgauge-backend/base/makeup-artists-deployment.yaml b/apps/nxtgauge-backend/base/makeup-artists-deployment.yaml deleted file mode 100644 index 59cdbb9..0000000 --- a/apps/nxtgauge-backend/base/makeup-artists-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-makeup-artists - namespace: nxtgauge - labels: - app: nxtgauge-makeup-artists -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-makeup-artists - template: - metadata: - labels: - app: nxtgauge-makeup-artists - spec: - containers: - - name: makeup-artists - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50054 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "makeup_artist" - - name: PROFESSIONALS_PORT - value: "50054" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50054 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50054 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/makeup-artists-service.yaml b/apps/nxtgauge-backend/base/makeup-artists-service.yaml deleted file mode 100644 index b706385..0000000 --- a/apps/nxtgauge-backend/base/makeup-artists-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-makeup-artists - namespace: nxtgauge - labels: - app: nxtgauge-makeup-artists -spec: - type: ClusterIP - selector: - app: nxtgauge-makeup-artists - ports: - - name: grpc - port: 50054 - targetPort: 50054 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/namespace.yaml b/apps/nxtgauge-backend/base/namespace.yaml deleted file mode 100644 index 358f183..0000000 --- a/apps/nxtgauge-backend/base/namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: nxtgauge diff --git a/apps/nxtgauge-backend/base/photographers-deployment.yaml b/apps/nxtgauge-backend/base/photographers-deployment.yaml deleted file mode 100644 index 835a0ca..0000000 --- a/apps/nxtgauge-backend/base/photographers-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-photographers - namespace: nxtgauge - labels: - app: nxtgauge-photographers -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-photographers - template: - metadata: - labels: - app: nxtgauge-photographers - spec: - containers: - - name: photographers - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50053 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "photographer" - - name: PROFESSIONALS_PORT - value: "50053" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50053 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50053 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/photographers-service.yaml b/apps/nxtgauge-backend/base/photographers-service.yaml deleted file mode 100644 index b9a2202..0000000 --- a/apps/nxtgauge-backend/base/photographers-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-photographers - namespace: nxtgauge - labels: - app: nxtgauge-photographers -spec: - type: ClusterIP - selector: - app: nxtgauge-photographers - ports: - - name: grpc - port: 50053 - targetPort: 50053 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/secret.yaml b/apps/nxtgauge-backend/base/secret.yaml deleted file mode 100644 index 5a48f6d..0000000 --- a/apps/nxtgauge-backend/base/secret.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: nxtgauge-backend-secrets - namespace: nxtgauge -type: Opaque -stringData: - DATABASE_HOST: "pg-postgresql.data.svc.cluster.local" - DATABASE_PORT: "5432" - DATABASE_USER: "postgres" - DATABASE_PASSWORD: "chandan2026@1" - DATABASE_NAME: "nxtgauge" - DATABASE_URL: "postgresql://postgres:chandan2026%401@pg-postgresql.data.svc.cluster.local:5432/nxtgauge" - JWT_SECRET: "bPU0RQ/N7JW8CDCioe6AFBw/lBLTm++pGtta20pcsTX36p3OyheplgUyiD66OCuV" - SMTP_HOST: "mail.nxtgauge.com" - SMTP_PORT: "587" - SMTP_USER: "noreply@nxtgauge.com" - SMTP_PASS: "Nxtguage@1128" - SMTP_FROM_NAME: "NXTGAUGE" - SMTP_FROM_EMAIL: "noreply@nxtgauge.com" - SMTP_SECURE: "false" - SMTP_REQUIRE_TLS: "true" diff --git a/apps/nxtgauge-backend/base/service.yaml b/apps/nxtgauge-backend/base/service.yaml deleted file mode 100644 index ecc9051..0000000 --- a/apps/nxtgauge-backend/base/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-backend - namespace: nxtgauge - labels: - app: nxtgauge-backend -spec: - type: ClusterIP - selector: - app: nxtgauge-backend - ports: - - name: http - port: 80 - targetPort: 2002 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/social-media-managers-deployment.yaml b/apps/nxtgauge-backend/base/social-media-managers-deployment.yaml deleted file mode 100644 index ccc42fb..0000000 --- a/apps/nxtgauge-backend/base/social-media-managers-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-social-media-managers - namespace: nxtgauge - labels: - app: nxtgauge-social-media-managers -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-social-media-managers - template: - metadata: - labels: - app: nxtgauge-social-media-managers - spec: - containers: - - name: social-media-managers - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50061 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "social_media_manager" - - name: PROFESSIONALS_PORT - value: "50061" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50061 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50061 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/social-media-managers-service.yaml b/apps/nxtgauge-backend/base/social-media-managers-service.yaml deleted file mode 100644 index e982cca..0000000 --- a/apps/nxtgauge-backend/base/social-media-managers-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-social-media-managers - namespace: nxtgauge - labels: - app: nxtgauge-social-media-managers -spec: - type: ClusterIP - selector: - app: nxtgauge-social-media-managers - ports: - - name: grpc - port: 50061 - targetPort: 50061 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/tutors-deployment.yaml b/apps/nxtgauge-backend/base/tutors-deployment.yaml deleted file mode 100644 index 7b8969c..0000000 --- a/apps/nxtgauge-backend/base/tutors-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-tutors - namespace: nxtgauge - labels: - app: nxtgauge-tutors -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-tutors - template: - metadata: - labels: - app: nxtgauge-tutors - spec: - containers: - - name: tutors - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50055 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "tutor" - - name: PROFESSIONALS_PORT - value: "50055" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50055 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50055 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/tutors-service.yaml b/apps/nxtgauge-backend/base/tutors-service.yaml deleted file mode 100644 index b4c3a6d..0000000 --- a/apps/nxtgauge-backend/base/tutors-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-tutors - namespace: nxtgauge - labels: - app: nxtgauge-tutors -spec: - type: ClusterIP - selector: - app: nxtgauge-tutors - ports: - - name: grpc - port: 50055 - targetPort: 50055 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/users-deployment.yaml b/apps/nxtgauge-backend/base/users-deployment.yaml deleted file mode 100644 index 71e8e03..0000000 --- a/apps/nxtgauge-backend/base/users-deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-users - namespace: nxtgauge - labels: - app: nxtgauge-users -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-users - template: - metadata: - labels: - app: nxtgauge-users - spec: - containers: - - name: users - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50052 - name: grpc - env: - - name: APP - value: "users" - - name: USERS_GRPC_BIND_URL - value: "0.0.0.0:50052" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50052 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50052 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/users-service.yaml b/apps/nxtgauge-backend/base/users-service.yaml deleted file mode 100644 index ef3bf07..0000000 --- a/apps/nxtgauge-backend/base/users-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-users - namespace: nxtgauge - labels: - app: nxtgauge-users -spec: - type: ClusterIP - selector: - app: nxtgauge-users - ports: - - name: grpc - port: 50052 - targetPort: 50052 - protocol: TCP diff --git a/apps/nxtgauge-backend/base/video-editors-deployment.yaml b/apps/nxtgauge-backend/base/video-editors-deployment.yaml deleted file mode 100644 index a86279c..0000000 --- a/apps/nxtgauge-backend/base/video-editors-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-video-editors - namespace: nxtgauge - labels: - app: nxtgauge-video-editors -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-video-editors - template: - metadata: - labels: - app: nxtgauge-video-editors - spec: - containers: - - name: video-editors - image: ghcr.io/traceworks2023/nxtgauge-backend - imagePullPolicy: Always - ports: - - containerPort: 50059 - name: grpc - env: - - name: APP - value: "professionals" - - name: PROFESSIONAL_SERVICE_CATEGORY - value: "video_editor" - - name: PROFESSIONALS_PORT - value: "50059" - envFrom: - - configMapRef: - name: nxtgauge-backend-config - - secretRef: - name: nxtgauge-backend-secrets - readinessProbe: - tcpSocket: - port: 50059 - initialDelaySeconds: 5 - periodSeconds: 10 - livenessProbe: - tcpSocket: - port: 50059 - initialDelaySeconds: 15 - periodSeconds: 20 diff --git a/apps/nxtgauge-backend/base/video-editors-service.yaml b/apps/nxtgauge-backend/base/video-editors-service.yaml deleted file mode 100644 index 0be320c..0000000 --- a/apps/nxtgauge-backend/base/video-editors-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-video-editors - namespace: nxtgauge - labels: - app: nxtgauge-video-editors -spec: - type: ClusterIP - selector: - app: nxtgauge-video-editors - ports: - - name: grpc - port: 50059 - targetPort: 50059 - protocol: TCP diff --git a/apps/nxtgauge-backend/overlays/prod/kustomization.yaml b/apps/nxtgauge-backend/overlays/prod/kustomization.yaml deleted file mode 100644 index 012bdae..0000000 --- a/apps/nxtgauge-backend/overlays/prod/kustomization.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - ../../base -patchesStrategicMerge: - - replicas-patch.yaml -images: - - name: ghcr.io/traceworks2023/nxtgauge-backend - newTag: testingcodex-latest diff --git a/apps/nxtgauge-backend/overlays/prod/replicas-patch.yaml b/apps/nxtgauge-backend/overlays/prod/replicas-patch.yaml deleted file mode 100644 index 08b1b78..0000000 --- a/apps/nxtgauge-backend/overlays/prod/replicas-patch.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-backend - namespace: nxtgauge -spec: - replicas: 2 diff --git a/apps/nxtgauge-frontendwebsite/base/configmap.yaml b/apps/nxtgauge-frontendwebsite/base/configmap.yaml deleted file mode 100644 index afc8163..0000000 --- a/apps/nxtgauge-frontendwebsite/base/configmap.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: nxtgauge-frontendwebsite-config - namespace: nxtgauge -data: - NODE_ENV: "production" - PORT: "3000" - NEXT_PUBLIC_API_URL: "https://api.nxtgauge.com/api" diff --git a/apps/nxtgauge-frontendwebsite/base/deployment.yaml b/apps/nxtgauge-frontendwebsite/base/deployment.yaml deleted file mode 100644 index 8be878e..0000000 --- a/apps/nxtgauge-frontendwebsite/base/deployment.yaml +++ /dev/null @@ -1,52 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-frontendwebsite - namespace: nxtgauge - labels: - app: nxtgauge-frontendwebsite -spec: - replicas: 1 - selector: - matchLabels: - app: nxtgauge-frontendwebsite - template: - metadata: - labels: - app: nxtgauge-frontendwebsite - spec: - containers: - - name: frontendwebsite - image: ghcr.io/traceworks2023/nxtgauge-frontendwebsite - imagePullPolicy: Always - ports: - - containerPort: 3000 - name: http - envFrom: - - configMapRef: - name: nxtgauge-frontendwebsite-config - - secretRef: - name: nxtgauge-frontendwebsite-secrets - readinessProbe: - httpGet: - path: / - port: 3000 - initialDelaySeconds: 10 - periodSeconds: 10 - timeoutSeconds: 3 - failureThreshold: 3 - livenessProbe: - httpGet: - path: / - port: 3000 - initialDelaySeconds: 20 - periodSeconds: 20 - timeoutSeconds: 3 - failureThreshold: 3 - resources: - requests: - cpu: 100m - memory: 128Mi - limits: - cpu: 500m - memory: 512Mi diff --git a/apps/nxtgauge-frontendwebsite/base/ingress.yaml b/apps/nxtgauge-frontendwebsite/base/ingress.yaml deleted file mode 100644 index 4ba3218..0000000 --- a/apps/nxtgauge-frontendwebsite/base/ingress.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: nxtgauge-frontendwebsite - namespace: nxtgauge -spec: - ingressClassName: traefik - rules: - - host: test121.nxtgauge.com - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: nxtgauge-frontendwebsite - port: - number: 80 diff --git a/apps/nxtgauge-frontendwebsite/base/kustomization.yaml b/apps/nxtgauge-frontendwebsite/base/kustomization.yaml deleted file mode 100644 index dffdde5..0000000 --- a/apps/nxtgauge-frontendwebsite/base/kustomization.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - namespace.yaml - - configmap.yaml - - secret.yaml - - deployment.yaml - - service.yaml - - ingress.yaml diff --git a/apps/nxtgauge-frontendwebsite/base/namespace.yaml b/apps/nxtgauge-frontendwebsite/base/namespace.yaml deleted file mode 100644 index 358f183..0000000 --- a/apps/nxtgauge-frontendwebsite/base/namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: nxtgauge diff --git a/apps/nxtgauge-frontendwebsite/base/secret.yaml b/apps/nxtgauge-frontendwebsite/base/secret.yaml deleted file mode 100644 index f0e724d..0000000 --- a/apps/nxtgauge-frontendwebsite/base/secret.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: nxtgauge-frontendwebsite-secrets - namespace: nxtgauge -type: Opaque -stringData: - MAIL_FROM: "noreply@nxtgauge.com" - MAIL_SMTP_HOST: "mail.nxtgauge.com" - MAIL_SMTP_PORT: "587" - MAIL_SMTP_SECURE: "false" - MAIL_SMTP_STARTTLS: "true" - MAIL_SMTP_USER: "noreply@nxtgauge.com" - MAIL_SMTP_PASS: "Admin@36541" diff --git a/apps/nxtgauge-frontendwebsite/base/service.yaml b/apps/nxtgauge-frontendwebsite/base/service.yaml deleted file mode 100644 index ab5280c..0000000 --- a/apps/nxtgauge-frontendwebsite/base/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nxtgauge-frontendwebsite - namespace: nxtgauge - labels: - app: nxtgauge-frontendwebsite -spec: - type: ClusterIP - selector: - app: nxtgauge-frontendwebsite - ports: - - name: http - port: 80 - targetPort: 3000 - protocol: TCP diff --git a/apps/nxtgauge-frontendwebsite/overlays/prod/kustomization.yaml b/apps/nxtgauge-frontendwebsite/overlays/prod/kustomization.yaml deleted file mode 100644 index d499842..0000000 --- a/apps/nxtgauge-frontendwebsite/overlays/prod/kustomization.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - ../../base -patchesStrategicMerge: - - replicas-patch.yaml -images: - - name: ghcr.io/traceworks2023/nxtgauge-frontendwebsite - newTag: testingcodex-latest diff --git a/apps/nxtgauge-frontendwebsite/overlays/prod/replicas-patch.yaml b/apps/nxtgauge-frontendwebsite/overlays/prod/replicas-patch.yaml deleted file mode 100644 index d54692b..0000000 --- a/apps/nxtgauge-frontendwebsite/overlays/prod/replicas-patch.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nxtgauge-frontendwebsite - namespace: nxtgauge -spec: - replicas: 1 diff --git a/argocd/nxtgauge-admin-frontend-application.yaml b/argocd/nxtgauge-admin-frontend-application.yaml deleted file mode 100644 index 6365823..0000000 --- a/argocd/nxtgauge-admin-frontend-application.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: nxtgauge-admin-frontend - namespace: argocd - annotations: - argocd-image-updater.argoproj.io/image-list: admin=ghcr.io/traceworks2023/nxtgauge-nov-2025-frontend:testingcodex-latest - argocd-image-updater.argoproj.io/admin.update-strategy: digest - argocd-image-updater.argoproj.io/admin.allow-tags: regexp:^testingcodex-latest$ - argocd-image-updater.argoproj.io/write-back-method: argocd -spec: - project: default - source: - repoURL: https://github.com/Traceworks2023/nxtgauge-gitops.git - targetRevision: main - path: apps/nxtgauge-admin-frontend/overlays/prod - destination: - server: https://kubernetes.default.svc - namespace: nxtgauge - syncPolicy: - automated: - prune: true - selfHeal: true - syncOptions: - - CreateNamespace=true diff --git a/argocd/nxtgauge-backend-application.yaml b/argocd/nxtgauge-backend-application.yaml deleted file mode 100644 index 4f7176a..0000000 --- a/argocd/nxtgauge-backend-application.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: nxtgauge-backend - namespace: argocd - annotations: - argocd-image-updater.argoproj.io/image-list: backend=ghcr.io/traceworks2023/nxtgauge-backend:testingcodex-latest - argocd-image-updater.argoproj.io/backend.update-strategy: digest - argocd-image-updater.argoproj.io/backend.allow-tags: regexp:^testingcodex-latest$ - argocd-image-updater.argoproj.io/write-back-method: argocd -spec: - project: default - source: - repoURL: https://github.com/Traceworks2023/nxtgauge-gitops.git - targetRevision: main - path: apps/nxtgauge-backend/overlays/prod - destination: - server: https://kubernetes.default.svc - namespace: nxtgauge - syncPolicy: - automated: - prune: true - selfHeal: true - syncOptions: - - CreateNamespace=true diff --git a/argocd/nxtgauge-frontendwebsite-application.yaml b/argocd/nxtgauge-frontendwebsite-application.yaml deleted file mode 100644 index e68adfe..0000000 --- a/argocd/nxtgauge-frontendwebsite-application.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: nxtgauge-frontendwebsite - namespace: argocd - annotations: - argocd-image-updater.argoproj.io/image-list: public=ghcr.io/traceworks2023/nxtgauge-frontendwebsite:testingcodex-latest - argocd-image-updater.argoproj.io/public.update-strategy: digest - argocd-image-updater.argoproj.io/public.allow-tags: regexp:^testingcodex-latest$ - argocd-image-updater.argoproj.io/write-back-method: argocd -spec: - project: default - source: - repoURL: https://github.com/Traceworks2023/nxtgauge-gitops.git - targetRevision: main - path: apps/nxtgauge-frontendwebsite/overlays/prod - destination: - server: https://kubernetes.default.svc - namespace: nxtgauge - syncPolicy: - automated: - prune: true - selfHeal: true - syncOptions: - - CreateNamespace=true