aboutsummaryrefslogtreecommitdiff
path: root/script/k8s/config.yaml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-04-05 15:04:27 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-04-07 16:12:35 +0200
commit7e1ac51b580afa8e900206e7cc49791ed0a00d94 (patch)
tree2a0467b90a2b1ccb716a0e7555f033246367f035 /script/k8s/config.yaml
parent94f1e48fff7652f6b7195fea4570d3fa8b5c98f6 (diff)
downloadgarage-7e1ac51b580afa8e900206e7cc49791ed0a00d94.tar.gz
garage-7e1ac51b580afa8e900206e7cc49791ed0a00d94.zip
Add files to quickly test k8s
Diffstat (limited to 'script/k8s/config.yaml')
-rw-r--r--script/k8s/config.yaml30
1 files changed, 30 insertions, 0 deletions
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"