Commit 25252b9f authored by Waqar Ahmed's avatar Waqar Ahmed

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

parent 42ef7f97
...@@ -6,4 +6,3 @@ Introduction ...@@ -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. 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.
groups: groups:
- name: "Storage" - name: "Storage"
description: "Configure Storage for IPFS" description: "Configure Storage for Chia"
questions: questions:
- variable: appVolumeMounts - variable: appVolumeMounts
......
...@@ -9,4 +9,6 @@ metadata: ...@@ -9,4 +9,6 @@ metadata:
data: data:
entrypoint.sh: |- entrypoint.sh: |-
#!/bin/sh #!/bin/sh
if [ -e /root/as.sh ]; then
/chia-blockchain/venv/bin/python3 -c "from chia.util.keychain import generate_mnemonic;print(generate_mnemonic())" > /plots/keyfile; /chia-blockchain/venv/bin/python3 -c "from chia.util.keychain import generate_mnemonic;print(generate_mnemonic())" > /plots/keyfile;
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment