mirror of
https://github.com/truenas/charts.git
synced 2026-11-03 22:24:05 +08:00
Add custom keyword to host path labels
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user