Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
django-chart
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
Evili del Rio
django-chart
Commits
59480521
Commit
59480521
authored
Mar 02, 2020
by
Evili del Rio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No default value for POSTGRES_HOST and storageClass
parent
c90c5da6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
templates/deployment.yaml
templates/deployment.yaml
+1
-1
templates/django-files.yaml
templates/django-files.yaml
+3
-1
templates/postgres-config.yaml
templates/postgres-config.yaml
+3
-1
No files found.
templates/deployment.yaml
View file @
59480521
...
...
@@ -25,7 +25,7 @@ spec:
-
name
:
{{
.Chart.Name
}}
securityContext
:
{{
- toYaml .Values.securityContext | nindent 12
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Chart.AppV
ersion
}}"
image
:
"
{{
.Values.image.repository
}}:{{
default
.Chart.AppVersion
.Values.image.v
ersion
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
env
:
-
name
:
POSTGRES_PASSWORD
...
...
templates/django-files.yaml
View file @
59480521
...
...
@@ -10,4 +10,6 @@ spec:
resources
:
requests
:
storage
:
{{
.Values.persistence.size
}}
storageClassName
:
{{
.Values.persistence.storageClass | default "default"
}}
{{
- if .Values.persistence.storageClass
}}
storageClassName
:
{{
.Values.persistence.storageClass
}}
{{
- end
}}
templates/postgres-config.yaml
View file @
59480521
...
...
@@ -5,4 +5,6 @@ metadata:
data
:
POSTGRES_DATABASE
:
{{
.Values.global.postgresql.postgresqlDatabase
}}
POSTGRES_USER
:
{{
.Values.global.postgresql.postgresqlUsername
}}
POSTGRES_HOST
:
{{
.Values.global.postgresql.postgresqlHost | default "postgresql"
}}
{{
-if .Values.global.postgresql.postgresqlHost
}}
POSTGRES_HOST
:
{{
.Values.global.postgresql.postgresqlHost
}}
{{
-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