Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
f4de80f8
Unverified
Commit
f4de80f8
authored
Sep 14, 2021
by
Andrew Yefanov
Committed by
GitHub
Sep 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc: add helm high availablity when replicas are more than 1 (#4420)
* add helm high availablity when replicas are more than 1 * refactor HA expression ***NO_CI***
parent
d5a5820c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
deployment.yaml
dev/helm/templates/deployment.yaml
+4
-2
No files found.
dev/helm/templates/deployment.yaml
View file @
f4de80f8
...
...
@@ -39,9 +39,9 @@ spec:
-
name
:
DB_USER
value
:
{{
default "wiki" .Values.postgresql.postgresqlUser
}}
-
name
:
DB_SSL
value
:
"
{{
default
"
false
" .Values.postgresql.ssl }}"
value
:
"
{{
default
"
false
" .Values.postgresql.ssl }}"
-
name
:
DB_SSL_CA
value
:
"
{{
default
"
"
.Values.postgresql.ca
}}"
value
:
"
{{
default
"
"
.Values.postgresql.ca
}}"
-
name
:
DB_PASS
valueFrom
:
secretKeyRef
:
...
...
@@ -51,6 +51,8 @@ spec:
name
:
{{
template "wiki.postgresql.secret" .
}}
{{
- end
}}
key
:
{{
template "wiki.postgresql.secretKey" .
}}
-
name
:
HA
value
:
{{
.Values.replicaCount | int | le 2 | quote
}}
ports
:
-
name
:
http
containerPort
:
3000
...
...
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