Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #28 from small-hack/renovate/postgresql-15.x
Browse files Browse the repository at this point in the history
Update postgresql Docker tag to v15.5.17
  • Loading branch information
jessebot authored Oct 20, 2024
2 parents 1c22f50 + 197f2cb commit bb1810e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions charts/matrix-sliding-sync/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 15.5.16
digest: sha256:940bedabe498e43055ffbb9153b2edaa9043cce1cfcf80f69f736c65705199a2
generated: "2024-07-11T11:11:43.206498506Z"
version: 15.5.17
digest: sha256:7ddb961982ac08f3c928d9414bb98492348e003d99bd4e687379c483c381bf5e
generated: "2024-07-16T16:14:28.640182599Z"
4 changes: 2 additions & 2 deletions charts/matrix-sliding-sync/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.7
version: 0.5.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -27,7 +27,7 @@ appVersion: "v0.99.19"

dependencies:
- name: postgresql
version: 15.5.16
version: 15.5.17
repository: oci://registry-1.docker.io/bitnamicharts
condition: postgresql.enabled

Expand Down
7 changes: 4 additions & 3 deletions charts/matrix-sliding-sync/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# matrix-sliding-sync

![Version: 0.5.3](https://img.shields.io/badge/Version-0.5.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.99.19](https://img.shields.io/badge/AppVersion-v0.99.19-informational?style=flat-square)
![Version: 0.5.8](https://img.shields.io/badge/Version-0.5.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.99.19](https://img.shields.io/badge/AppVersion-v0.99.19-informational?style=flat-square)

A Helm chart for deploying matrix sliding sync on Kubernetes

Expand All @@ -14,7 +14,7 @@ A Helm chart for deploying matrix sliding sync on Kubernetes

| Repository | Name | Version |
|------------|------|---------|
| oci://registry-1.docker.io/bitnamicharts | postgresql | 15.5.11 |
| oci://registry-1.docker.io/bitnamicharts | postgresql | 15.5.17 |

## Values

Expand Down Expand Up @@ -68,7 +68,8 @@ A Helm chart for deploying matrix sliding sync on Kubernetes
| postgresql.global.postgresql.auth.secretKeys.databaseUsername | string | `"username"` | key in existingSecret with username for matrix-sliding-sync to connect to db |
| postgresql.global.postgresql.auth.secretKeys.userPasswordKey | string | `"password"` | key in existingSecret with password for matrix-sliding-sync to connect to db |
| postgresql.global.postgresql.auth.username | string | `"syncv3"` | username of matrix-sliding-sync postgres user |
| postgresql.primary.initdb | object | `{"scriptsConfigMap":"{{ .Release.Name }}-postgresql-initdb"}` | run the scripts in templates/postgresql/initdb-configmap.yaml If using an external Postgres server, make sure to configure the database ref: https://github.com/matrix-org/synapse/blob/master/docs/postgres.md |
| postgresql.primary.initdb | object | `{"scripts":{}}` | If using an external Postgres server, make sure to configure the database ref: https://github.com/matrix-org/synapse/blob/master/docs/postgres.md |
| postgresql.primary.initdb.scripts | object | `{}` | Map of initdb scripts. Specify dictionary of scripts to be run at first boot. If you're reading this in the README of the chart repo, please check out the values.yaml for info. |
| postgresql.primary.podSecurityContext.enabled | bool | `true` | |
| postgresql.primary.podSecurityContext.fsGroup | int | `1000` | |
| postgresql.primary.podSecurityContext.runAsUser | int | `1000` | |
Expand Down
Binary file not shown.
Binary file not shown.
13 changes: 0 additions & 13 deletions charts/matrix-sliding-sync/templates/initdb-configmap.yaml

This file was deleted.

18 changes: 15 additions & 3 deletions charts/matrix-sliding-sync/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,23 @@ postgresql:

# primary database node config
primary:
# -- run the scripts in templates/postgresql/initdb-configmap.yaml
# If using an external Postgres server, make sure to configure the database
# -- If using an external Postgres server, make sure to configure the database
# ref: https://github.com/matrix-org/synapse/blob/master/docs/postgres.md
initdb:
scriptsConfigMap: "{{ .Release.Name }}-postgresql-initdb"
# -- Map of initdb scripts. Specify dictionary of scripts to be run at first boot.
# If you're reading this in the README of the chart repo, please check out
# the values.yaml for info.
scripts: {}
# -- uncomment to provide a database setup schedule. Alternatively, you
# can also provide postgresql.primary.initdb.scriptsConfigMap or
# postgresql.primary.initdb.scriptsSecret Note: if you change
# postgresql.global.postgresql.auth.username, or
# postgresql.global.postgresql.auth.secretKeys.userPasswordKey, please
# also change it in the 3 lines of this script, if you're using this option.
# matrix_sliding_sync.sql: |
# CREATE DATABASE matrix ENCODING 'UTF8' LOCALE 'C' TEMPLATE template0 OWNER syncv3;
# GRANT ALL PRIVILEGES ON DATABASE matrix-sliding-sync TO syncv3;
# GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO syncv3;

podSecurityContext:
enabled: true
Expand Down

0 comments on commit bb1810e

Please sign in to comment.