Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
bb453a39
Commit
bb453a39
authored
Oct 10, 2021
by
sonicaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update stable train from test train
parent
a5b21a80
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
76 additions
and
6 deletions
+76
-6
charts/chia/1.3.18/.helmignore
charts/chia/1.3.18/.helmignore
+0
-0
charts/chia/1.3.18/Chart.yaml
charts/chia/1.3.18/Chart.yaml
+1
-1
charts/chia/1.3.18/README.md
charts/chia/1.3.18/README.md
+0
-0
charts/chia/1.3.18/app-readme.md
charts/chia/1.3.18/app-readme.md
+0
-0
charts/chia/1.3.18/charts/common-2105.0.0.tgz
charts/chia/1.3.18/charts/common-2105.0.0.tgz
+0
-0
charts/chia/1.3.18/default_values.yaml
charts/chia/1.3.18/default_values.yaml
+0
-0
charts/chia/1.3.18/ix_values.yaml
charts/chia/1.3.18/ix_values.yaml
+0
-0
charts/chia/1.3.18/questions.yaml
charts/chia/1.3.18/questions.yaml
+27
-0
charts/chia/1.3.18/requirements.lock
charts/chia/1.3.18/requirements.lock
+0
-0
charts/chia/1.3.18/templates/deployment.yaml
charts/chia/1.3.18/templates/deployment.yaml
+7
-1
charts/chia/1.3.18/templates/generate-mnemonic.yaml
charts/chia/1.3.18/templates/generate-mnemonic.yaml
+0
-0
charts/chia/1.3.18/templates/mnemonic-configmap.yaml
charts/chia/1.3.18/templates/mnemonic-configmap.yaml
+0
-0
charts/chia/1.3.18/templates/networking.tpl
charts/chia/1.3.18/templates/networking.tpl
+21
-0
charts/chia/1.3.18/templates/service.yaml
charts/chia/1.3.18/templates/service.yaml
+13
-0
charts/chia/1.3.18/test_values.yaml
charts/chia/1.3.18/test_values.yaml
+3
-0
charts/chia/1.3.18/values.yaml
charts/chia/1.3.18/values.yaml
+0
-0
test/chia/1.3.18/templates/networking.tpl
test/chia/1.3.18/templates/networking.tpl
+2
-2
test/chia/1.3.18/test_values.yaml
test/chia/1.3.18/test_values.yaml
+2
-2
No files found.
charts/chia/1.3.1
7
/.helmignore
→
charts/chia/1.3.1
8
/.helmignore
View file @
bb453a39
File moved
charts/chia/1.3.1
7
/Chart.yaml
→
charts/chia/1.3.1
8
/Chart.yaml
View file @
bb453a39
...
...
@@ -15,4 +15,4 @@ name: chia
sources
:
-
https://github.com/Chia-Network/chia-blockchain
-
https://github.com/orgs/chia-network/packages/container/package/chia
version
:
1.3.1
7
version
:
1.3.1
8
charts/chia/1.3.1
7
/README.md
→
charts/chia/1.3.1
8
/README.md
View file @
bb453a39
File moved
charts/chia/1.3.1
7
/app-readme.md
→
charts/chia/1.3.1
8
/app-readme.md
View file @
bb453a39
File moved
charts/chia/1.3.1
7
/charts/common-2105.0.0.tgz
→
charts/chia/1.3.1
8
/charts/common-2105.0.0.tgz
View file @
bb453a39
File moved
charts/chia/1.3.1
7
/default_values.yaml
→
charts/chia/1.3.1
8
/default_values.yaml
View file @
bb453a39
File moved
charts/chia/1.3.1
7
/ix_values.yaml
→
charts/chia/1.3.1
8
/ix_values.yaml
View file @
bb453a39
File moved
charts/chia/1.3.1
7
/questions.yaml
→
charts/chia/1.3.1
8
/questions.yaml
View file @
bb453a39
...
...
@@ -5,6 +5,8 @@ groups:
description
:
"
Configure
farmr.net
support"
-
name
:
"
Chia
Environment
Variables"
description
:
"
Set
the
environment
that
will
be
visible
to
the
container"
-
name
:
"
Networking"
description
:
"
Configure
networking
for
Chia
container"
portals
:
web_portal
:
...
...
@@ -153,3 +155,28 @@ questions:
label
:
"
Value"
schema
:
type
:
string
-
variable
:
service
description
:
"
Networking
Configuration"
label
:
"
Networking
Configuration"
group
:
"
Networking"
schema
:
type
:
dict
required
:
true
attrs
:
-
variable
:
nodePort
label
:
"
Node
Port
to
use
for
Chia"
schema
:
type
:
int
min
:
8000
max
:
65535
default
:
8444
required
:
true
-
variable
:
farmerPort
label
:
"
Farmer
Port
to
use
for
Chia"
schema
:
type
:
int
min
:
8000
max
:
65535
default
:
8447
required
:
true
charts/chia/1.3.1
7
/requirements.lock
→
charts/chia/1.3.1
8
/requirements.lock
View file @
bb453a39
File moved
charts/chia/1.3.1
7
/templates/deployment.yaml
→
charts/chia/1.3.1
8
/templates/deployment.yaml
View file @
bb453a39
...
...
@@ -3,6 +3,8 @@ kind: Deployment
metadata
:
name
:
{{
template "common.names.fullname" .
}}
labels
:
{{
include "common.labels" . | nindent 4
}}
annotations
:
rollme
:
{{
randAlphaNum 5 | quote
}}
spec
:
strategy
:
type
:
{{
.Values.updateStrategy
}}
...
...
@@ -14,7 +16,9 @@ spec:
labels
:
{{
include "common.labels.selectorLabels" . | nindent 8
}}
spec
:
# FIXME: Let's please remove hostnetwork when upstream hostport issue is sorted out with kube-router
{{
if eq (include "hostNetworkingEnabled" .) "true"
}}
hostNetwork
:
true
{{
end
}}
containers
:
-
name
:
{{
.Chart.Name
}}
{{
include "common.containers.imageConfig" .Values.image | nindent 10
}}
...
...
@@ -27,7 +31,9 @@ spec:
-
name
:
chia-network
protocol
:
TCP
containerPort
:
8444
hostPort
:
8444
-
name
:
chia-farmer
protocol
:
TCP
containerPort
:
8447
{{
$envList
:
= (default list .Values.environmentVariables)
}}
{{
$envList = mustAppend $envList (dict "name" "keys" "value" "/plots/keyfile")
}}
{{
$envList = mustAppend $envList (dict "name" "farmr" "value" $.Values.farmr_env)
}}
...
...
charts/chia/1.3.1
7
/templates/generate-mnemonic.yaml
→
charts/chia/1.3.1
8
/templates/generate-mnemonic.yaml
View file @
bb453a39
File moved
charts/chia/1.3.1
7
/templates/mnemonic-configmap.yaml
→
charts/chia/1.3.1
8
/templates/mnemonic-configmap.yaml
View file @
bb453a39
File moved
charts/chia/1.3.18/templates/networking.tpl
0 → 100644
View file @
bb453a39
{{
/*
Enable
host
networking
*/
}}
{{- define "hostNetworkingEnabled" -}}
{{- if or (lt (.Values.service.nodePort | int) 9000) (lt (.Values.service.farmerPort | int) 9000) -}}
{{- print "true" -}}
{{- else -}}
{{- print "false" -}}
{{- end -}}
{{- end -}}
{
{
/*
Enable
Node
Port
Service
*/
}
}
{{- define "enableService" -}}
{{- if or (ge (.Values.service.nodePort | int) 9000) (ge (.Values.service.farmerPort | int) 9000) -}}
{{- print "true" -}}
{{- else -}}
{{- print "false" -}}
{{- end -}}
{{- end -}}
charts/chia/1.3.18/templates/service.yaml
0 → 100644
View file @
bb453a39
{{
if eq (include "enableService" .) "true"
}}
{{
$svc
:
= .Values.service
}}
{{
$ports
:
= list
}}
{{
if ge ($svc.nodePort | int) 9000
}}
{{
$ports = mustAppend $ports (dict "name" "chia-network" "port" $svc.nodePort "nodePort" $svc.nodePort "targetPort" 8444)
}}
{{
end
}}
{{
if ge ($svc.farmerPort | int) 9000
}}
{{
$ports = mustAppend $ports (dict "name" "chia-farmer" "port" $svc.farmerPort "nodePort" $svc.farmerPort "targetPort" 8447)
}}
{{
end
}}
{{
$params
:
= .
}}
{{
$_
:
= set $params "commonService" (dict "type" "NodePort" "ports" $ports )
}}
{{
include "common.classes.service" $params
}}
{{
end
}}
\ No newline at end of file
charts/chia/1.3.1
7
/test_values.yaml
→
charts/chia/1.3.1
8
/test_values.yaml
View file @
bb453a39
...
...
@@ -11,3 +11,6 @@ image:
repository
:
ixsystems/chia-docker
tag
:
v1.2.8
updateStrategy
:
Recreate
service
:
nodePort
:
31121
farmerPort
:
31122
charts/chia/1.3.1
7
/values.yaml
→
charts/chia/1.3.1
8
/values.yaml
View file @
bb453a39
File moved
test/chia/1.3.18/templates/networking.tpl
View file @
bb453a39
{{
/*
Formats
volumeMount
for
Minio
tls
keys
and
trusted
certs
Enable
host
networking
*/
}}
{{- define "hostNetworkingEnabled" -}}
{{- if or (lt (.Values.service.nodePort | int) 9000) (lt (.Values.service.farmerPort | int) 9000) -}}
...
...
@@ -10,7 +10,7 @@ Formats volumeMount for Minio tls keys and trusted certs
{{- end -}}
{
{
/*
Formats
volume
for
Minio
tls
keys
and
trusted
certs
Enable
Node
Port
Service
*/
}
}
{{- define "enableService" -}}
{{- if or (ge (.Values.service.nodePort | int) 9000) (ge (.Values.service.farmerPort | int) 9000) -}}
...
...
test/chia/1.3.18/test_values.yaml
View file @
bb453a39
...
...
@@ -12,5 +12,5 @@ image:
tag
:
v1.2.8
updateStrategy
:
Recreate
service
:
nodePort
:
3
3
121
farmerPort
:
3
3
122
nodePort
:
3
1
121
farmerPort
:
3
1
122
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment