mirror of
https://github.com/truenas/charts.git
synced 2026-11-18 23:02:07 +00:00
Upgraded catalog item(s)
This commit upgrades chia, ipfs, plex, minio catalog item(s).
This commit is contained in:
1 parent
97af23ebf9
commit
deac092ad2
132 files changed
+62
-80
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
appVersion: v1.2.3
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../library/common/2105.0.0
|
||||
version: 2105.0.0
|
||||
description: Global, Versioned, peer-to-peer filesystem.
|
||||
home: https://www.chia.net/
|
||||
icon: https://www.chia.net/img/chia_logo.svg
|
||||
keywords:
|
||||
- storage
|
||||
- crypto
|
||||
- blockchain
|
||||
name: chia
|
||||
sources:
|
||||
- https://github.com/Chia-Network/chia-blockchain
|
||||
- https://github.com/orgs/chia-network/packages/container/package/chia
|
||||
version: 1.3.6
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
Chia Network
|
||||
=====
|
||||
|
||||
[CHIA](https://www.chia.net/) is a new blockchain and smart transaction platform that is easier to use, more efficient, and secure.
|
||||
Introduction
|
||||
------------
|
||||
|
||||
This chart bootstraps CHIA deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
@@ -0,0 +1,4 @@
|
||||
Chia Network
|
||||
=====
|
||||
|
||||
[CHIA](https://www.chia.net/) is a new blockchain and smart transaction platform that is easier to use, more efficient, and secure.
|
||||
Binary file not shown.
@@ -0,0 +1,17 @@
|
||||
image:
|
||||
repository: ghcr.io/chia-network/chia
|
||||
tag: 1.1.4
|
||||
pullPolicy: IfNotPresent
|
||||
updateStrategy: Recreate
|
||||
environmentVariables:
|
||||
- name: "keys"
|
||||
value: "/plots/keyfile"
|
||||
|
||||
appVolumeMounts:
|
||||
staging:
|
||||
emptyDir: true
|
||||
mountPath: "/plots"
|
||||
data:
|
||||
emptyDir: true
|
||||
mountPath: "/root/.chia"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ixsystems/chia-docker
|
||||
tag: v1.2.3
|
||||
updateStrategy: Recreate
|
||||
@@ -0,0 +1,155 @@
|
||||
groups:
|
||||
- name: "Storage"
|
||||
description: "Configure Storage for Chia"
|
||||
- name: "Farmr.net Configuration"
|
||||
description: "Configure farmr.net support"
|
||||
- name: "Chia Environment Variables"
|
||||
description: "Set the environment that will be visible to the container"
|
||||
|
||||
portals:
|
||||
web_portal:
|
||||
protocols:
|
||||
- "https"
|
||||
host:
|
||||
- "www.truepool.io"
|
||||
ports:
|
||||
- "443"
|
||||
path: "/kb/truepool-docker-image/"
|
||||
|
||||
questions:
|
||||
- variable: farmr_env
|
||||
label: "Enable 'farmr.net' support"
|
||||
group: "Farmr.net Configuration"
|
||||
description: "Configure 'farmr.net' support for chia"
|
||||
schema:
|
||||
type: string
|
||||
default: "off"
|
||||
enum:
|
||||
- value: "off"
|
||||
description: "OFF"
|
||||
- value: "farmer"
|
||||
description: "FARMER"
|
||||
- value: "harvester"
|
||||
description: "HARVESTER"
|
||||
- variable: appVolumeMounts
|
||||
label: "Chia Storage"
|
||||
group: "Storage"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: config
|
||||
label: "Configuration Volume"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: datasetName
|
||||
label: "Configuration Volume Dataset Name"
|
||||
schema:
|
||||
type: string
|
||||
hidden: true
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
show_if: [["hostPathEnabled", "=", false]]
|
||||
default: "config"
|
||||
editable: false
|
||||
- variable: mountPath
|
||||
label: "Configuration Mount Path"
|
||||
description: "Path where the volume will be mounted inside the pod"
|
||||
schema:
|
||||
type: path
|
||||
hidden: true
|
||||
editable: true
|
||||
default: "/data"
|
||||
- variable: hostPathEnabled
|
||||
label: "Enable Custom Host Path for Chia Configuration Volume"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: hostPath
|
||||
label: "Host Path for Chia Configuration Volume"
|
||||
schema:
|
||||
type: hostpath
|
||||
required: true
|
||||
- variable: plots
|
||||
label: "Plot Volume"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: datasetName
|
||||
label: "Plots Volume Name"
|
||||
schema:
|
||||
type: string
|
||||
hidden: true
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
show_if: [["hostPathEnabled", "=", false]]
|
||||
default: "plots"
|
||||
editable: false
|
||||
- variable: mountPath
|
||||
label: "Plots Mount Path"
|
||||
description: "Path where the volume will be mounted inside the pod"
|
||||
schema:
|
||||
type: path
|
||||
hidden: true
|
||||
editable: false
|
||||
default: "/plots"
|
||||
- variable: hostPathEnabled
|
||||
label: "Enable Custom Host Path for Chia Plots Volume"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: hostPath
|
||||
label: "Host Path for Chia Plots Volume"
|
||||
schema:
|
||||
type: hostpath
|
||||
required: true
|
||||
|
||||
- variable: extraAppVolumeMounts
|
||||
label: "Chia Extra Host Path Volumes"
|
||||
group: "Storage"
|
||||
schema:
|
||||
type: list
|
||||
items:
|
||||
- variable: extraAppVolume
|
||||
label: "Chia Host Path Volume"
|
||||
description: "Add an extra host path volume for chia application"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: mountPath
|
||||
label: "Mount Path in Pod"
|
||||
description: "Path where the volume will be mounted inside the pod"
|
||||
schema:
|
||||
type: path
|
||||
required: true
|
||||
- variable: hostPath
|
||||
label: "Host Path"
|
||||
description: "Host path"
|
||||
schema:
|
||||
type: hostpath
|
||||
required: true
|
||||
|
||||
- variable: environmentVariables
|
||||
label: "Environment Variables for Chia"
|
||||
group: "Chia Environment Variables"
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: environmentVariable
|
||||
label: "Environment Variable"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: name
|
||||
label: "Name"
|
||||
schema:
|
||||
type: string
|
||||
- variable: value
|
||||
label: "Value"
|
||||
schema:
|
||||
type: string
|
||||
@@ -0,0 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../library/common/2105.0.0
|
||||
version: 2105.0.0
|
||||
digest: sha256:11522ab36487826700d7ad0f86f713a4bb5d35248014bcef690fe94acbc09ef6
|
||||
generated: "2021-05-17T18:26:46.201544+05:00"
|
||||
@@ -0,0 +1,40 @@
|
||||
apiVersion: {{ template "common.capabilities.deployment.apiVersion" . }}
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}
|
||||
labels: {{ include "common.labels" . | nindent 4 }}
|
||||
spec:
|
||||
strategy:
|
||||
type: {{ .Values.updateStrategy }}
|
||||
selector:
|
||||
matchLabels: {{ include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}
|
||||
labels: {{ include "common.labels.selectorLabels" . | nindent 8 }}
|
||||
spec:
|
||||
# FIXME: Let's please remove hostnetwork when upstream hostport issue is sorted out with kube-router
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
|
||||
volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
|
||||
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
||||
- name: extrappvolume-{{ $index }}
|
||||
mountPath: {{ $hostPathConfiguration.mountPath }}
|
||||
{{ end }}
|
||||
ports:
|
||||
- name: chia-network
|
||||
protocol: TCP
|
||||
containerPort: 8444
|
||||
hostPort: 8444
|
||||
{{ $envList := (default list .Values.environmentVariables) }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "keys" "value" "/plots/keyfile") }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "farmr" "value" $.Values.farmr_env) }}
|
||||
{{ include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10 }}
|
||||
volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
|
||||
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
||||
- name: extrappvolume-{{ $index }}
|
||||
hostPath:
|
||||
path: {{ $hostPathConfiguration.hostPath }}
|
||||
{{ end }}
|
||||
@@ -0,0 +1,30 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: "pre-install"
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
"helm.sh/hook-weight": "1"
|
||||
"helm.sh/hook-delete-policy": hook-succeeded
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
name: "pre-upgrade-hook2"
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}-generate-mnemonic
|
||||
{{ include "common.containers.imageConfig" .Values.image | nindent 8 }}
|
||||
volumeMounts:{{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 10 }}
|
||||
|
||||
- name: generate-mnemonic-configmap
|
||||
mountPath: /generate_entrypoint.sh
|
||||
readOnly: true
|
||||
subPath: entrypoint.sh
|
||||
command:
|
||||
- "/generate_entrypoint.sh"
|
||||
volumes: {{- include "common.storage.configureAppVolumes" .Values | nindent 8 -}}
|
||||
- name: generate-mnemonic-configmap
|
||||
configMap:
|
||||
defaultMode: 0700
|
||||
name: "generate-mnemonic-config-map"
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: "generate-mnemonic-config-map"
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
"helm.sh/hook-weight": "-1"
|
||||
"helm.sh/hook-delete-policy": hook-succeeded
|
||||
data:
|
||||
entrypoint.sh: |-
|
||||
#!/bin/sh
|
||||
if [ ! -e /plots/keyfile ]; then
|
||||
/chia-blockchain/venv/bin/python3 -c "from chia.util.keychain import generate_mnemonic;print(generate_mnemonic())" > /plots/keyfile;
|
||||
fi
|
||||
@@ -0,0 +1,13 @@
|
||||
appVolumeMounts:
|
||||
data:
|
||||
emptyDir: true
|
||||
mountPath: /data
|
||||
staging:
|
||||
emptyDir: true
|
||||
mountPath: /plots
|
||||
farmr_env: 'off'
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ixsystems/chia-docker
|
||||
tag: v1.2.3
|
||||
updateStrategy: Recreate
|
||||
Whitespace-only changes.
Reference in new issue
Block a user