Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
mautrix-twilio
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
Incidents
Environments
Packages & Registries
Packages & Registries
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
Tulir Asokan
mautrix-twilio
Commits
a22b906b
Commit
a22b906b
authored
Oct 23, 2019
by
Tulir Asokan
🐈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add postgres as an optional dependency
parent
6e7e788e
Pipeline
#298
passed with stages
in 1 minute and 13 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
5 deletions
+28
-5
helm/mautrix-twilio/.gitignore
helm/mautrix-twilio/.gitignore
+1
-0
helm/mautrix-twilio/requirements.lock
helm/mautrix-twilio/requirements.lock
+6
-0
helm/mautrix-twilio/requirements.yaml
helm/mautrix-twilio/requirements.yaml
+5
-0
helm/mautrix-twilio/templates/configmap.yaml
helm/mautrix-twilio/templates/configmap.yaml
+5
-1
helm/mautrix-twilio/values.yaml
helm/mautrix-twilio/values.yaml
+11
-4
No files found.
helm/mautrix-twilio/.gitignore
0 → 100644
View file @
a22b906b
charts/*
helm/mautrix-twilio/requirements.lock
0 → 100644
View file @
a22b906b
dependencies:
- name: postgresql
repository: https://kubernetes-charts.storage.googleapis.com/
version: 6.5.0
digest: sha256:85139e9d4207e49c11c5f84d7920d0135cffd3d427f3f3638d4e51258990de2a
generated: "2019-10-23T22:57:33.770418415+03:00"
helm/mautrix-twilio/requirements.yaml
0 → 100644
View file @
a22b906b
dependencies
:
-
name
:
postgresql
version
:
6.5.0
repository
:
https://kubernetes-charts.storage.googleapis.com/
condition
:
postgresql.enabled
helm/mautrix-twilio/templates/configmap.yaml
View file @
a22b906b
...
...
@@ -22,7 +22,11 @@ data:
port: {{ .Values.service.port }}
max_body_size: {{ .Values.appservice.maxBodySize }}
database: {{ .Values.appservice.database }}
{{- if .Values.postgresql.enabled }}
database: "postgres://postgres:{{ .Values.postgresql.postgresqlPassword }}@{{ .Release.Name }}-postgresql/{{ .Values.postgresql.postgresqlDatabase }}"
{{- else }}
database: {{ .Values.appservice.database | quote }}
{{- end }}
public:
{{- toYaml .Values.appservice.public | nindent 8 }}
...
...
helm/mautrix-twilio/values.yaml
View file @
a22b906b
...
...
@@ -18,10 +18,6 @@ service:
port
:
29322
resources
:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
...
...
@@ -35,6 +31,17 @@ tolerations: []
affinity
:
{}
# Postgres pod configs
postgresql
:
enabled
:
true
postgresqlDatabase
:
mxtw
persistence
:
size
:
2Gi
resources
:
requests
:
memory
:
256Mi
cpu
:
100m
# Homeserver details
homeserver
:
# The address that this appservice can use to connect to the homeserver.
...
...
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