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
dffffd3a
Unverified
Commit
dffffd3a
authored
Jul 06, 2022
by
Don Kendall
Committed by
GitHub
Jul 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(helm): allow self-signed ssl (#5446)
parent
4f2dd36e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
deployment.yaml
dev/helm/templates/deployment.yaml
+5
-1
values.yaml
dev/helm/values.yaml
+14
-1
No files found.
dev/helm/templates/deployment.yaml
View file @
dffffd3a
...
...
@@ -41,9 +41,11 @@ spec:
env
:
-
name
:
DB_TYPE
value
:
postgres
{{
- if
.Values.externalPostgresql
.databaseURL
}}
{{
- if
(.Values.externalPostgresql)
.databaseURL
}}
-
name
:
DATABASE_URL
value
:
{{
.Values.externalPostgresql.databaseURL
}}
-
name
:
NODE_TLS_REJECT_UNAUTHORIZED
value
:
{{
default "1" .Values.externalPostgresql.NODE_TLS_REJECT_UNAUTHORIZED | quote
}}
{{
- else
}}
-
name
:
DB_HOST
value
:
{{
template "wiki.postgresql.host" .
}}
...
...
@@ -81,6 +83,8 @@ spec:
{{
- toYaml .Values.livenessProbe | nindent 12
}}
readinessProbe
:
{{
- toYaml .Values.readinessProbe | nindent 12
}}
startupProbe
:
{{
- toYaml .Values.startupProbe | nindent 12
}}
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
{{
- with .Values.nodeSelector
}}
...
...
dev/helm/values.yaml
View file @
dffffd3a
...
...
@@ -32,6 +32,16 @@ readinessProbe:
path
:
/healthz
port
:
http
startupProbe
:
initialDelaySeconds
:
15
periodSeconds
:
5
timeoutSeconds
:
5
successThreshold
:
1
failureThreshold
:
60
httpGet
:
path
:
/healthz
port
:
http
podSecurityContext
:
{}
# fsGroup: 2000
...
...
@@ -104,7 +114,10 @@ sideload:
## This will override the postgresql chart values
# externalPostgresql:
# databaseURL: postgresql://postgres:postgres@postgres:5432/wiki?sslmode=require
# # note: ?sslmode=require => ?ssl=true
# databaseURL: postgresql://postgres:postgres@postgres:5432/wiki?ssl=true
# # For self signed CAs, like DigitalOcean
# NODE_TLS_REJECT_UNAUTHORIZED: "0"
## Configuration values for the postgresql dependency.
## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
...
...
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