split webui
All checks were successful
lint-test-helm / helm-lint (push) Successful in 20s
renovate / renovate (push) Successful in 1m50s

This commit is contained in:
2025-10-27 20:46:58 -05:00
parent fb7670629d
commit e12370efcb
4 changed files with 22 additions and 13 deletions

View File

@@ -496,7 +496,7 @@ homepage:
icon: sh-garage.webp icon: sh-garage.webp
description: Garage description: Garage
href: https://garage-webui.alexlebens.net href: https://garage-webui.alexlebens.net
siteMonitor: http://garage.garage:3909 siteMonitor: http://garage-webui.garage:3909
statusStyle: dot statusStyle: dot
- Object Storage (ps10rp): - Object Storage (ps10rp):
icon: sh-garage.webp icon: sh-garage.webp

View File

@@ -23,7 +23,7 @@ spec:
backendRefs: backendRefs:
- group: '' - group: ''
kind: Service kind: Service
name: garage name: garage-webui
port: 3909 port: 3909
weight: 100 weight: 100
@@ -53,6 +53,6 @@ spec:
backendRefs: backendRefs:
- group: '' - group: ''
kind: Service kind: Service
name: garage name: garage-main
port: 3900 port: 3900
weight: 100 weight: 100

View File

@@ -10,7 +10,7 @@ metadata:
spec: spec:
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: garage app.kubernetes.io/name: garage-main
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
endpoints: endpoints:
- port: admin - port: admin

View File

@@ -19,15 +19,21 @@ garage:
cpu: 10m cpu: 10m
memory: 128Mi memory: 128Mi
webui: webui:
type: deployment
replicas: 1
strategy: Recreate
revisionHistoryLimit: 3
containers:
main:
image: image:
repository: khairul169/garage-webui repository: khairul169/garage-webui
tag: 1.1.0 tag: 1.1.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env: env:
- name: API_BASE_URL - name: API_BASE_URL
value: http://127.0.0.1:3903 value: http://garage-main.garage:3903
- name: S3_ENDPOINT_URL - name: S3_ENDPOINT_URL
value: http://127.0.0.1:3900 value: http://garage-main.garage:3900
- name: API_ADMIN_KEY - name: API_ADMIN_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
@@ -68,15 +74,10 @@ garage:
[admin] [admin]
api_bind_addr = "[::]:3903" api_bind_addr = "[::]:3903"
metrics_require_token = true metrics_require_token = true
service: service:
main: main:
controller: main controller: main
ports: ports:
webui:
port: 3909
targetPort: 3909
protocol: HTTP
s3: s3:
port: 3900 port: 3900
targetPort: 3900 targetPort: 3900
@@ -93,6 +94,13 @@ garage:
port: 3903 port: 3903
targetPort: 3903 targetPort: 3903
protocol: HTTP protocol: HTTP
webui:
controller: webui
ports:
webui:
port: 3909
targetPort: 3909
protocol: HTTP
persistence: persistence:
config: config:
enabled: true enabled: true
@@ -106,6 +114,7 @@ garage:
mountPropagation: None mountPropagation: None
subPath: garage.toml subPath: garage.toml
webui: webui:
main:
- path: /etc/garage.toml - path: /etc/garage.toml
readOnly: true readOnly: true
mountPropagation: None mountPropagation: None