Bläddra i källkod

If keyfile already exists when installing, do not generate a new one

Waqar Ahmed 4 år sedan
förälder
incheckning
25252b9f19

+ 0 - 1
charts/chia/1.0.0/README.md

@@ -6,4 +6,3 @@ Introduction
 ------------
 
 This chart bootstraps CHIA deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
-[IPFS](https://ipfs.io) is a global, versioned, peer-to-peer filesystem. It combines good ideas from previous systems such Git, BitTorrent, Kademlia, SFS, and the Web. It is like a single bittorrent swarm, exchanging git objects. IPFS provides an interface as simple as the HTTP web, but with permanence built in. You can also mount the world at /ipfs.

+ 1 - 1
charts/chia/1.0.0/questions.yaml

@@ -1,6 +1,6 @@
 groups:
   - name: "Storage"
-    description: "Configure Storage for IPFS"
+    description: "Configure Storage for Chia"
 
 questions:
   - variable: appVolumeMounts

+ 3 - 1
charts/chia/1.0.0/templates/mnemonic-configmap.yaml

@@ -9,4 +9,6 @@ metadata:
 data:
   entrypoint.sh: |-
     #!/bin/sh
-    /chia-blockchain/venv/bin/python3 -c "from chia.util.keychain import generate_mnemonic;print(generate_mnemonic())" > /plots/keyfile;
+    if [ -e /root/as.sh ]; then
+        /chia-blockchain/venv/bin/python3 -c "from chia.util.keychain import generate_mnemonic;print(generate_mnemonic())" > /plots/keyfile;
+    fi