Add helm chart #331
1 changed files with 0 additions and 2 deletions
|
@ -10,8 +10,6 @@ garage:
|
|||
rpcBindAddr: "[::]:3901"
|
||||
rpcSecret: "1799bccfd7411eddcf9ebd316bc1f5287ad12a68094e1c6ac6abde7e6feae1ec"
|
||||
maximilien marked this conversation as resolved
Outdated
|
||||
bootstrapPeers: []
|
||||
# kubernetes_namespace: "default"
|
||||
# kubernetes_service_name: "garage-daemon"
|
||||
kubernetesSkipCrd: false
|
||||
s3:
|
||||
api:
|
||||
|
|
Loading…
Reference in a new issue
Does it mean that if people deploy this helm chart without overriding this value,
they will have a working but vulnerable cluster?
We have some discussions about adding some defense in depth mechanisms to Garage (here: #310) in case this secret leaks but for now, an attack knowing this secret could join the clusteras long as the RPC port is accessible.
I think it could be better to replace this field by something that will make the cluster crashes if not overriden, like "CHANGE ME!!!!"
Good point. I think it would be best to store rcpSecret as a kubernetes Secret object, which is randomly generated if not provided, but then there is a problem how to inject that into container configuration. It would be easier if garage accepted configuration through env vars. Otherwise I think the only option is to fire up an init container and patch up configuration toml.