Add custom keyword to host path labels

This commit is contained in:
Waqar Ahmed
2021-05-09 04:00:16 +05:00
parent 25252b9f19
commit a9ef1454e9
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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