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
c5d6bab0
Commit
c5d6bab0
authored
Nov 22, 2021
by
Muhammad Rehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a question test
parent
732f2189
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
3 deletions
+55
-3
Makefile
Makefile
+2
-2
charts/machinaris/1.1.0/charts/common-2105.0.0.tgz
charts/machinaris/1.1.0/charts/common-2105.0.0.tgz
+0
-0
charts/machinaris/1.1.0/ix_values.yaml
charts/machinaris/1.1.0/ix_values.yaml
+8
-0
charts/machinaris/1.1.0/questions.yaml
charts/machinaris/1.1.0/questions.yaml
+43
-1
charts/machinaris/1.1.0/templates/coins-deployment.yaml
charts/machinaris/1.1.0/templates/coins-deployment.yaml
+2
-0
No files found.
Makefile
View file @
c5d6bab0
validate
:
@
helm dependency update ./test/machinaris/1.0.11
@
helm template
--values
./test/machinaris/1.0.11/ix_values.yaml machinaris ./test/machinaris/1.0.11
--debug
\ No newline at end of file
@
helm dependency update ./charts/machinaris/1.1.0
@
helm template
--values
./charts/machinaris/1.1.0/ix_values.yaml machinaris ./charts/machinaris/1.1.0
--debug
\ No newline at end of file
charts/machinaris/1.1.0/charts/common-2105.0.0.tgz
View file @
c5d6bab0
No preview for this file type
charts/machinaris/1.1.0/ix_values.yaml
View file @
c5d6bab0
...
...
@@ -11,6 +11,7 @@ appVolumeMounts:
mountPath
:
/plots
coins
:
-
name
:
cactus
enabled
:
false
apiPort
:
nodePort
:
90001
targetPort
:
8936
...
...
@@ -22,6 +23,7 @@ coins:
-
protocol
:
TCP
containerPort
:
11447
-
name
:
chives
enabled
:
false
apiPort
:
nodePort
:
90002
targetPort
:
8931
...
...
@@ -33,6 +35,7 @@ coins:
-
protocol
:
TCP
containerPort
:
9647
-
name
:
flax
enabled
:
false
apiPort
:
nodePort
:
90003
targetPort
:
8928
...
...
@@ -44,6 +47,7 @@ coins:
-
protocol
:
TCP
containerPort
:
6885
-
name
:
flora
enabled
:
false
apiPort
:
nodePort
:
90004
targetPort
:
8932
...
...
@@ -55,6 +59,7 @@ coins:
-
protocol
:
TCP
containerPort
:
18647
-
name
:
hddcoin
enabled
:
false
apiPort
:
nodePort
:
90005
targetPort
:
8930
...
...
@@ -66,6 +71,7 @@ coins:
-
protocol
:
TCP
containerPort
:
28447
-
name
:
nchain
enabled
:
false
apiPort
:
nodePort
:
90006
targetPort
:
8929
...
...
@@ -77,6 +83,7 @@ coins:
-
protocol
:
TCP
containerPort
:
38447
-
name
:
stacoin
enabled
:
false
apiPort
:
nodePort
:
90007
targetPort
:
8934
...
...
@@ -88,6 +95,7 @@ coins:
-
protocol
:
TCP
containerPort
:
1692
-
name
:
stor
enabled
:
false
apiPort
:
nodePort
:
90008
targetPort
:
8935
...
...
charts/machinaris/1.1.0/questions.yaml
View file @
c5d6bab0
...
...
@@ -191,7 +191,7 @@ questions:
show_if
:
[[
"
enableResourceLimits"
,
"
="
,
true
]]
valid_chars
:
"
^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
-
variable
:
enableStor
-
variable
:
coins.7.enabled
label
:
"
Enable
Stor"
group
:
"
Configure
Coins"
schema
:
...
...
@@ -207,3 +207,45 @@ questions:
max
:
65535
default
:
9004
show_if
:
[[
"
enableStor"
,
"
="
,
true
]]
-
variable
:
coins.7.appVolumeMounts
label
:
"
Machinaris
Stor
Storage"
group
:
"
Configure
Coins"
schema
:
show_if
:
[[
"
enableStor"
,
"
="
,
true
]]
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
:
"
/root/.chia"
-
variable
:
hostPathEnabled
label
:
"
Enable
Custom
Host
Path
for
Machinaris
Configuration
Volume"
schema
:
type
:
boolean
default
:
false
show_subquestions_if
:
true
subquestions
:
-
variable
:
hostPath
label
:
"
Host
Path
for
Machinaris
Configuration
Volume"
schema
:
type
:
hostpath
required
:
true
charts/machinaris/1.1.0/templates/coins-deployment.yaml
View file @
c5d6bab0
{{
- $ref
:
= .
}}
{{
- range $coin
:
= $ref.Values.coins
}}
{{
- if $coin.enabled -
}}
{{
$_
:
= set $ref "common" (dict "nameSuffix" $coin.name)
}}
apiVersion
:
{{
template "common.capabilities.deployment.apiVersion" $ref
}}
kind
:
Deployment
...
...
@@ -49,3 +50,4 @@ spec:
{{
end
}}
---
{{
- end
}}
{{
- end
}}
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