From a9ef1454e9ba95d36445f3930a79cbb916767e6b Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Sun, 9 May 2021 04:00:16 +0500 Subject: [PATCH] Add custom keyword to host path labels --- charts/chia/1.0.0/questions.yaml | 4 ++-- charts/chia/1.0.0/templates/mnemonic-configmap.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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