Garage v1.0.x uses top-level rpc_bind_addr/rpc_secret, not a [rpc] section. Also template admin_token into [admin] from the sealed secret.
31 lines
626 B
YAML
31 lines
626 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: garage-config
|
|
namespace: platform
|
|
data:
|
|
garage.toml: |
|
|
db_engine = "lmdb"
|
|
replication_factor = 1
|
|
consistency_mode = "consistent"
|
|
|
|
metadata_dir = "/mnt/meta"
|
|
data_dir = "/mnt/data"
|
|
|
|
rpc_bind_addr = "[::]:3901"
|
|
rpc_secret = "RPC_SECRET_PLACEHOLDER"
|
|
|
|
[s3_api]
|
|
api_bind_addr = "[::]:3900"
|
|
s3_region = "garage"
|
|
root_domain = ".s3.garage.svc"
|
|
|
|
[s3_web]
|
|
bind_addr = "[::]:3902"
|
|
root_domain = ".web.garage.svc"
|
|
index = "index.html"
|
|
|
|
[admin]
|
|
api_bind_addr = "[::]:3903"
|
|
admin_token = "ADMIN_TOKEN_PLACEHOLDER"
|