feat(apps): Expose garage service to s3.whyredfire.dev

This commit is contained in:
2026-09-23 23:45:29 +05:30
parent 485db774f5
commit 538ed748a1
3 changed files with 31 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
name: garage-s3
namespace: garage
spec:
hostnames:
- s3.whyredfire.dev
parentRefs:
- kind: Gateway
name: traefik-gateway
namespace: traefik
sectionName: websecure
rules:
- backendRefs:
- name: garage
port: 3900
matches:
- path:
type: PathPrefix
value: /
+1
View File
@@ -1,5 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- httproute-s3.yaml
- sealed-secret.yaml
- service-admin.yaml
+7 -1
View File
@@ -20,7 +20,7 @@ spec:
singleNode: true
existingRpcSecret: garage-secrets
noClusterRole: true
# No discovery or website listener is needed for standalone S3.
# No discovery is needed for a single node.
garageTomlString: |
metadata_dir = "/mnt/meta"
data_dir = "/mnt/data"
@@ -36,6 +36,12 @@ spec:
s3_region = "garage"
api_bind_addr = "0.0.0.0:3900"
[s3_web]
bind_addr = "0.0.0.0:3902"
# Required; a bucket's full name also works as the Host
root_domain = ".web.garage.internal"
index = "index.html"
[admin]
api_bind_addr = "0.0.0.0:3903"
metrics_require_token = true