Pārlūkot izejas kodu

Add custom keyword to host path labels

Waqar Ahmed 4 gadi atpakaļ
vecāks
revīzija
a9ef1454e9

+ 2 - 2
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

+ 1 - 1
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