Files
shaandClaude Sonnet 5 095860ccd0 Fix garage container command and drop postStart layout hook
The dxflrs/garage image ships as a single static binary with no
ENTRYPOINT and no shell, so `args: [server]` alone was exec'd as the
command (crash loop) and the shell-based postStart layout-bootstrap
hook could never run. Set command: [/garage] explicitly, and replace
the automated hook with documented one-time `kubectl exec` steps.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014ZA4cJygj4VPCYVms4TDrH
2026-09-13 13:10:23 +03:00

106 lines
2.1 KiB
YAML

# Default values for garage.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: dxflrs/garage
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
nameOverride: ""
fullnameOverride: ""
garage:
replicationFactor: 1
consistencyMode: consistent
dbEngine: sqlite
# Recommended zone/capacity for the one-time manual layout bootstrap
# (see NOTES.txt) - `garage layout assign -z <zone> -c <capacity> <node-id>`.
zone: dc1
capacity: 100G
rpcBindAddr: "[::]:3901"
# Address other nodes would use to reach this one. Not needed for a
# single-node (replicationFactor: 1) deployment - leave empty.
rpcPublicAddr: ""
s3:
region: garage
rootDomain: ""
web:
enabled: false
rootDomain: ""
index: index.html
# Secret must contain the keys named below (rpc-secret, admin-token,
# metrics-token). Charts never create secrets - provide an existingSecret.
existingSecret: ""
secretKeys:
rpcSecret: rpc-secret
adminToken: admin-token
metricsToken: metrics-token
persistence:
data:
enabled: true
type: hostPath # or pvc
hostPath: /srv/data/garage/data
existingClaim: ""
size: 50Gi
accessModes:
- ReadWriteOnce
storageClass: ""
meta:
enabled: true
type: hostPath # or pvc
hostPath: /srv/data/garage/meta
existingClaim: ""
size: 5Gi
accessModes:
- ReadWriteOnce
storageClass: ""
service:
type: ClusterIP
s3ApiPort: 3900
rpcPort: 3901
s3WebPort: 3902
adminPort: 3903
ingress:
s3:
enabled: false
className: ""
annotations: {}
hosts:
- host: s3.garage.lan
paths:
- path: /
pathType: Prefix
tls: []
web:
enabled: false
className: ""
annotations: {}
hosts: []
tls: []
admin:
enabled: false
className: ""
annotations: {}
hosts: []
tls: []
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: "1"
memory: 512Mi
nodeSelector: {}
affinity: {}
tolerations: []