diff options
author | chemicstry <chemicstry@gmail.com> | 2022-06-20 18:49:38 +0300 |
---|---|---|
committer | Maximilien R <maximilien@deuxfleurs.fr> | 2022-09-30 18:46:57 +0200 |
commit | b71fa2ddf45e21f40067fc021b3a81d738556eca (patch) | |
tree | a3ab91563a4177950420c869cfd0d7cc6df2c6b0 /script/helm/garage/templates/configmap.yaml | |
parent | 37a73d7d3782ec8a5cd8b0e71a00722f90321ced (diff) | |
download | garage-b71fa2ddf45e21f40067fc021b3a81d738556eca.tar.gz garage-b71fa2ddf45e21f40067fc021b3a81d738556eca.zip |
Generate random RPC secret if not provided
Diffstat (limited to 'script/helm/garage/templates/configmap.yaml')
-rw-r--r-- | script/helm/garage/templates/configmap.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/helm/garage/templates/configmap.yaml b/script/helm/garage/templates/configmap.yaml index 587746f6..e33a4dbd 100644 --- a/script/helm/garage/templates/configmap.yaml +++ b/script/helm/garage/templates/configmap.yaml @@ -10,7 +10,8 @@ data: replication_mode = "{{ .Values.garage.replicationMode }}" rpc_bind_addr = "{{ .Values.garage.rpcBindAddr }}" - rpc_secret = "{{ .Values.garage.rpcSecret }}" + # rpc_secret will be populated by the init container from a k8s secret object + rpc_secret = "__RPC_SECRET_REPLACE__" bootstrap_peers = {{ .Values.garage.bootstrapPeers }} |