diff --git a/safeshare/K8s/frontend_deployment_backup.yaml b/safeshare/K8s/frontend_deployment_backup.yaml deleted file mode 100644 index 263ec00..0000000 --- a/safeshare/K8s/frontend_deployment_backup.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: safeshare-frontend - labels: - app: safeshare - tier: frontend -spec: - replicas: 1 - selector: - matchLabels: - app: safeshare - tier: frontend - template: - metadata: - labels: - app: safeshare - tier: frontend - spec: - containers: - - name: safeshare-frontend - image: amusement3004/safeshare-frontend - imagePullPolicy: IfNotPresent - env: # Add these environment variables - - name: REACT_APP_API_HOST - value: safeshare-backend-service # The name of the backend service - - name: REACT_APP_API_PORT - value: "8000" # The port the backend service listens on - ports: - - containerPort: 3000 \ No newline at end of file diff --git a/safeshare/K8s/frontend_service_backup.yaml b/safeshare/K8s/frontend_service_backup.yaml deleted file mode 100644 index ee2df37..0000000 --- a/safeshare/K8s/frontend_service_backup.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: safeshare-frontend-service - labels: - app: safeshare - tier: frontend -spec: - type: NodePort - ports: - - port: 3000 - nodePort: 32000 # Optional: This is an example. Kubernetes will assign an available port if you don't specify this. - selector: - app: safeshare - tier: frontend \ No newline at end of file