diff --git a/charts/chia/1.0.0/questions.yaml b/charts/chia/1.0.0/questions.yaml index 10c57dc81f..94b89a084e 100644 --- a/charts/chia/1.0.0/questions.yaml +++ b/charts/chia/1.0.0/questions.yaml @@ -33,7 +33,7 @@ questions: editable: false default: "/root/.chia" - variable: hostPathEnabled - label: "Enable Host Path for Chia Configuration Volume" + label: "Enable Custom Host Path for Chia Configuration Volume" schema: type: boolean default: false @@ -68,7 +68,7 @@ questions: editable: false default: "/plots" - variable: hostPathEnabled - label: "Enable Host Path for Chia Plots Volume" + label: "Enable Custom Host Path for Chia Plots Volume" schema: type: boolean default: false diff --git a/charts/chia/1.0.0/templates/mnemonic-configmap.yaml b/charts/chia/1.0.0/templates/mnemonic-configmap.yaml index d025d60490..3158c85014 100644 --- a/charts/chia/1.0.0/templates/mnemonic-configmap.yaml +++ b/charts/chia/1.0.0/templates/mnemonic-configmap.yaml @@ -9,6 +9,6 @@ metadata: data: entrypoint.sh: |- #!/bin/sh - if [ -e /root/as.sh ]; then + if [ ! -e /plots/keyfile ]; then /chia-blockchain/venv/bin/python3 -c "from chia.util.keychain import generate_mnemonic;print(generate_mnemonic())" > /plots/keyfile; fi