Skip to content

Commit 3d957e3

Browse files
mitchrossclaude
andcommitted
feat(garage): add Web UI deployment
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4be275a commit 3d957e3

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: garage-webui
5+
namespace: garage
6+
annotations:
7+
argocd.argoproj.io/sync-wave: "2"
8+
spec:
9+
replicas: 1
10+
selector:
11+
matchLabels:
12+
app: garage-webui
13+
template:
14+
metadata:
15+
labels:
16+
app: garage-webui
17+
spec:
18+
containers:
19+
- name: webui
20+
image: khairul169/garage-webui:latest
21+
imagePullPolicy: IfNotPresent
22+
ports:
23+
- name: http
24+
containerPort: 3909
25+
protocol: TCP
26+
env:
27+
- name: API_BASE_URL
28+
value: "http://garage-admin.garage.svc.cluster.local:3903"
29+
- name: S3_ENDPOINT_URL
30+
value: "http://garage-s3.garage.svc.cluster.local:3900"
31+
- name: S3_REGION
32+
value: "garage"
33+
- name: API_ADMIN_KEY
34+
valueFrom:
35+
secretKeyRef:
36+
name: garage-secrets
37+
key: admin-token
38+
resources:
39+
requests:
40+
cpu: 100m
41+
memory: 128Mi
42+
limits:
43+
cpu: 500m
44+
memory: 512Mi
45+
livenessProbe:
46+
httpGet:
47+
path: /
48+
port: 3909
49+
initialDelaySeconds: 30
50+
periodSeconds: 30
51+
readinessProbe:
52+
httpGet:
53+
path: /
54+
port: 3909
55+
initialDelaySeconds: 10
56+
periodSeconds: 10

0 commit comments

Comments
 (0)