mirror of
https://github.com/truenas/charts.git
synced 2026-04-23 18:10:06 +08:00
If keyfile already exists when installing, do not generate a new one
This commit is contained in:
@@ -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,6 +1,6 @@
|
||||
groups:
|
||||
- name: "Storage"
|
||||
description: "Configure Storage for IPFS"
|
||||
description: "Configure Storage for Chia"
|
||||
|
||||
questions:
|
||||
- variable: appVolumeMounts
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user