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
9a884604
Commit
9a884604
authored
Sep 10, 2021
by
sonicaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean questions.yaml allowing configuring env variables/storage for collabora
parent
b3a2ea30
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
104 deletions
+11
-104
test/collabora/1.0.0/questions.yaml
test/collabora/1.0.0/questions.yaml
+10
-103
test/collabora/1.0.0/templates/deployment.yaml
test/collabora/1.0.0/templates/deployment.yaml
+1
-1
No files found.
test/collabora/1.0.0/questions.yaml
View file @
9a884604
groups
:
groups
:
-
name
:
"
Storage"
-
name
:
"
Storage"
description
:
"
Configure
Storage
for
Chia"
description
:
"
Configure
Storage
for
Collabora"
-
name
:
"
Farmr.net
Configuration"
-
name
:
"
Collabora
Environment
Variables"
description
:
"
Configure
farmr.net
support"
-
name
:
"
Chia
Environment
Variables"
description
:
"
Set
the
environment
that
will
be
visible
to
the
container"
description
:
"
Set
the
environment
that
will
be
visible
to
the
container"
portals
:
portals
:
web_portal
:
web_portal
:
protocols
:
protocols
:
-
"
http
s
"
-
"
http"
host
:
host
:
-
"
www.truepool.io
"
-
"
$node_ip
"
ports
:
ports
:
-
"
9980"
-
"
9980"
path
:
"
/
kb/truepool-docker-image/
"
path
:
"
/
loleaflet/dist/admin/admin.html
"
questions
:
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
-
variable
:
extraAppVolumeMounts
label
:
"
C
hi
a
Extra
Host
Path
Volumes"
label
:
"
C
ollabor
a
Extra
Host
Path
Volumes"
group
:
"
Storage"
group
:
"
Storage"
schema
:
schema
:
type
:
list
type
:
list
items
:
items
:
-
variable
:
extraAppVolume
-
variable
:
extraAppVolume
label
:
"
C
hi
a
Host
Path
Volume"
label
:
"
C
ollabor
a
Host
Path
Volume"
description
:
"
Add
an
extra
host
path
volume
for
chi
a
application"
description
:
"
Add
an
extra
host
path
volume
for
Collabor
a
application"
schema
:
schema
:
type
:
dict
type
:
dict
attrs
:
attrs
:
...
@@ -134,8 +41,8 @@ questions:
...
@@ -134,8 +41,8 @@ questions:
required
:
true
required
:
true
-
variable
:
environmentVariables
-
variable
:
environmentVariables
label
:
"
Environment
Variables
for
C
hi
a"
label
:
"
Environment
Variables
for
C
ollabor
a"
group
:
"
C
hi
a
Environment
Variables"
group
:
"
C
ollabor
a
Environment
Variables"
schema
:
schema
:
type
:
list
type
:
list
default
:
[]
default
:
[]
...
...
test/collabora/1.0.0/templates/deployment.yaml
View file @
9a884604
...
@@ -24,7 +24,7 @@ spec:
...
@@ -24,7 +24,7 @@ spec:
{{
end
}}
{{
end
}}
{{
end
}}
{{
end
}}
ports
:
ports
:
-
name
:
c
hia-network
-
name
:
c
ollabora
protocol
:
TCP
protocol
:
TCP
containerPort
:
9980
containerPort
:
9980
{{
$envList
:
= (default list .Values.environmentVariables)
}}
{{
$envList
:
= (default list .Values.environmentVariables)
}}
...
...
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