Skip to content
Snippets Groups Projects
Commit 10628763 authored by Sean Fredrick Cruz's avatar Sean Fredrick Cruz
Browse files

test changes in the frontend deployment

parent 014fc5aa
No related branches found
No related tags found
No related merge requests found
Pipeline #67505 passed with stage
in 1 minute and 11 seconds
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: task-app
namespace: argocd
spec:
project: default
source:
repoURL: https://gitlab.stratpoint.dev/seanfredrickcruz/task-app-management.git # Your GitLab repository
targetRevision: HEAD
path: task-app # Path to your Helm chart
destination:
server: https://kubernetes.default.svc
namespace: task-app-management
syncPolicy:
automated:
prune: true
selfHeal: true
---
# ConfigMap for frontend configuration
apiVersion: v1
kind: ConfigMap
metadata:
name: frontend-config
namespace: task-app
data:
REACT_APP_API_URL: "http://localhost:3001/api" # Backend API URL
\ No newline at end of file
......@@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: {{ .Release.Name }}-frontend
labels:
app: frontend
app: frontends
release: {{ .Release.Name }}
spec:
replicas: {{ .Values.frontend.replicaCount }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment