diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-01-15 16:21:40 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-01-15 16:21:40 +0100 |
commit | a51ba5d4857b6ceabf87482948a89667d9b58362 (patch) | |
tree | f76f0c7d78773b9a29819bd042237239ab73543c /yaml/deployments/frontend.yaml | |
parent | f9f13898263aff70af604314904c4bddd57fd05f (diff) |
Add frontend
Diffstat (limited to 'yaml/deployments/frontend.yaml')
-rw-r--r-- | yaml/deployments/frontend.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/yaml/deployments/frontend.yaml b/yaml/deployments/frontend.yaml new file mode 100644 index 0000000..781bf87 --- /dev/null +++ b/yaml/deployments/frontend.yaml @@ -0,0 +1,28 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: frontend-deployment + labels: + app: frontend-app +spec: + selector: + matchLabels: + app: frontend-app + template: + metadata: + labels: + app: frontend-app + spec: + containers: + - name: frontend + image: ghcr.io/cas-4/frontend:latest + imagePullPolicy: Always + ports: + - containerPort: 80 + env: + - name: VITE_API_URL + valueFrom: + configMapKeyRef: + name: frontend-config + key: VITE_API_URL + restartPolicy: Always |