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
70b0c8db
Commit
70b0c8db
authored
Oct 24, 2021
by
sonicaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add worker_address as a requirement for env variables
parent
fbcf9a4e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
0 deletions
+24
-0
charts/machinaris/1.0.11/questions.yaml
charts/machinaris/1.0.11/questions.yaml
+10
-0
charts/machinaris/1.0.11/templates/deployment.yaml
charts/machinaris/1.0.11/templates/deployment.yaml
+1
-0
charts/machinaris/1.0.11/test_values.yaml
charts/machinaris/1.0.11/test_values.yaml
+1
-0
test/machinaris/1.0.11/questions.yaml
test/machinaris/1.0.11/questions.yaml
+10
-0
test/machinaris/1.0.11/templates/deployment.yaml
test/machinaris/1.0.11/templates/deployment.yaml
+1
-0
test/machinaris/1.0.11/test_values.yaml
test/machinaris/1.0.11/test_values.yaml
+1
-0
No files found.
charts/machinaris/1.0.11/questions.yaml
View file @
70b0c8db
...
...
@@ -28,6 +28,16 @@ questions:
type
:
string
$ref
:
-
"
definitions/timezone"
-
variable
:
nodeIP
description
:
"
LAN
IP
address
of
your
TrueNAS
server"
group
:
"
Machinaris
Configuration"
label
:
"
Worker
Address"
schema
:
type
:
string
$ref
:
-
"
definitions/nodeIP"
-
variable
:
machinaris_ui_port
label
:
"
Machinaris
Web
UI"
group
:
"
Networking"
...
...
charts/machinaris/1.0.11/templates/deployment.yaml
View file @
70b0c8db
...
...
@@ -44,6 +44,7 @@ spec:
hostPort
:
8927
{{
$envList
:
= (default list .Values.environmentVariables)
}}
{{
$envList = mustAppend $envList (dict "name" "TZ" "value" $.Values.timezone)
}}
{{
$envList = mustAppend $envList (dict "name" "worker_address" "value" $.Values.nodeIP)
}}
{{
include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10
}}
volumes
:
{{
include "common.storage.configureAppVolumes" .Values | nindent 8
}}
{{
range $index
,
$hostPathConfiguration
:
= .Values.extraAppVolumeMounts
}}
...
...
charts/machinaris/1.0.11/test_values.yaml
View file @
70b0c8db
...
...
@@ -12,3 +12,4 @@ image:
machinaris_ui_port
:
31003
timezone
:
America/Edmonton
updateStrategy
:
Recreate
nodeIP
:
127.0.0.1
test/machinaris/1.0.11/questions.yaml
View file @
70b0c8db
...
...
@@ -28,6 +28,16 @@ questions:
type
:
string
$ref
:
-
"
definitions/timezone"
-
variable
:
nodeIP
description
:
"
LAN
IP
address
of
your
TrueNAS
server"
group
:
"
Machinaris
Configuration"
label
:
"
Worker
Address"
schema
:
type
:
string
$ref
:
-
"
definitions/nodeIP"
-
variable
:
machinaris_ui_port
label
:
"
Machinaris
Web
UI"
group
:
"
Networking"
...
...
test/machinaris/1.0.11/templates/deployment.yaml
View file @
70b0c8db
...
...
@@ -44,6 +44,7 @@ spec:
hostPort
:
8927
{{
$envList
:
= (default list .Values.environmentVariables)
}}
{{
$envList = mustAppend $envList (dict "name" "TZ" "value" $.Values.timezone)
}}
{{
$envList = mustAppend $envList (dict "name" "worker_address" "value" $.Values.nodeIP)
}}
{{
include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10
}}
volumes
:
{{
include "common.storage.configureAppVolumes" .Values | nindent 8
}}
{{
range $index
,
$hostPathConfiguration
:
= .Values.extraAppVolumeMounts
}}
...
...
test/machinaris/1.0.11/test_values.yaml
View file @
70b0c8db
...
...
@@ -12,3 +12,4 @@ image:
machinaris_ui_port
:
31003
timezone
:
America/Edmonton
updateStrategy
:
Recreate
nodeIP
:
127.0.0.1
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