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
fe2ebf7b
Commit
fe2ebf7b
authored
Jan 20, 2021
by
Waqar Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow specifying extra environment variables for plex
parent
af4cb601
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
12 deletions
+27
-12
test/plex/1.0.1/questions.yaml
test/plex/1.0.1/questions.yaml
+23
-8
test/plex/1.0.1/templates/deployment.yaml
test/plex/1.0.1/templates/deployment.yaml
+4
-4
No files found.
test/plex/1.0.1/questions.yaml
View file @
fe2ebf7b
...
...
@@ -74,14 +74,6 @@ questions:
type
:
string
default
:
"
"
-
variable
:
extraEnv
label
:
"
Environment
variables
for
plex"
group
:
"
Plex
Configuration"
schema
:
type
:
dict
additional_attrs
:
true
attrs
:
[]
-
variable
:
hostNetwork
label
:
"
Configure
Host
Network"
group
:
"
Networking"
...
...
@@ -89,6 +81,29 @@ questions:
type
:
boolean
default
:
false
-
variable
:
environmentVariables
label
:
"
Environment
Variables
for
Plex"
group
:
"
Plex
Configuration"
schema
:
type
:
list
default
:
[]
items
:
-
variable
:
environmentVariable
label
:
"
Environment
Variable"
schema
:
type
:
dict
attrs
:
-
variable
:
name
label
:
"
Name"
schema
:
type
:
string
required
:
true
-
variable
:
value
label
:
"
Value"
schema
:
type
:
string
required
:
true
-
variable
:
timezone
label
:
"
Plex
container
timezone"
group
:
"
Plex
Configuration"
...
...
test/plex/1.0.1/templates/deployment.yaml
View file @
fe2ebf7b
...
...
@@ -68,10 +68,10 @@ spec:
fieldRef
:
fieldPath
:
metadata.namespace
# Extra ENV Values supplied by user
{{
- range $
key
,
$value
:
= .Values.extraEnv
}}
-
name
:
{{
$
key
}}
value
:
{{
$
valu
e
}}
{{
- end
}}
{{
- range $
envVariable
:
= .Values.environmentVariables
}}
-
name
:
{{
$
envVariable.name
}}
value
:
{{
$
envVariable.value | quot
e
}}
{{
- end
}}
readinessProbe
:
httpGet
:
path
:
/identity
...
...
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