From 7e1ac51b580afa8e900206e7cc49791ed0a00d94 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 5 Apr 2022 15:04:27 +0200 Subject: Add files to quickly test k8s --- script/k8s/config.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 script/k8s/config.yaml (limited to 'script/k8s/config.yaml') diff --git a/script/k8s/config.yaml b/script/k8s/config.yaml new file mode 100644 index 00000000..8cf40fc2 --- /dev/null +++ b/script/k8s/config.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: garage-config + namespace: default +data: + garage.toml: |- + metadata_dir = "/tmp/meta" + data_dir = "/tmp/data" + + replication_mode = "3" + + rpc_bind_addr = "[::]:3901" + rpc_secret = "1799bccfd7411eddcf9ebd316bc1f5287ad12a68094e1c6ac6abde7e6feae1ec" + + bootstrap_peers = [] + + kubernetes_namespace = "default" + kubernetes_service_name = "garage-daemon" + kubernetes_skip_crd = false + + [s3_api] + s3_region = "garage" + api_bind_addr = "[::]:3900" + root_domain = ".s3.garage.tld" + + [s3_web] + bind_addr = "[::]:3902" + root_domain = ".web.garage.tld" + index = "index.html" -- cgit v1.2.3