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
e8a6ed8a
Commit
e8a6ed8a
authored
Jul 07, 2021
by
sonicaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow configuring farmr env variable
parent
22fa989f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
test/chia/1.3.0/questions.yaml
test/chia/1.3.0/questions.yaml
+17
-1
test/chia/1.3.0/templates/deployment.yaml
test/chia/1.3.0/templates/deployment.yaml
+1
-0
test/chia/1.3.0/test_values.yaml
test/chia/1.3.0/test_values.yaml
+2
-0
No files found.
test/chia/1.3.0/questions.yaml
View file @
e8a6ed8a
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"
...
...
@@ -11,10 +13,24 @@ portals:
host
:
-
"
www.truepool.io"
ports
:
-
443
-
"
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"
...
...
test/chia/1.3.0/templates/deployment.yaml
View file @
e8a6ed8a
...
...
@@ -30,6 +30,7 @@ spec:
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
}}
...
...
test/chia/1.3.0/test_values.yaml
View file @
e8a6ed8a
...
...
@@ -11,3 +11,5 @@ appVolumeMounts:
data
:
emptyDir
:
true
mountPath
:
"
/root/.chia"
farmr_env
:
"
off"
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