From 2c374f8cb5ae30159a1c0608f44336ddbdcab1af Mon Sep 17 00:00:00 2001 From: Kuruyia Date: Fri, 4 Oct 2024 11:25:29 +0200 Subject: [PATCH] feat(chirpstack): add database port value --- charts/chirpstack/Chart.yaml | 2 +- charts/chirpstack/README.md | 3 ++- charts/chirpstack/templates/chirpstack/configmap.yaml | 2 +- charts/chirpstack/values.yaml | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/charts/chirpstack/Chart.yaml b/charts/chirpstack/Chart.yaml index 27059fe..7c23080 100644 --- a/charts/chirpstack/Chart.yaml +++ b/charts/chirpstack/Chart.yaml @@ -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: 1.1.0 +version: 1.1.1 # 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 diff --git a/charts/chirpstack/README.md b/charts/chirpstack/README.md index 06bbe04..57f2f51 100644 --- a/charts/chirpstack/README.md +++ b/charts/chirpstack/README.md @@ -1,6 +1,6 @@ # chirpstack -![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.9.0](https://img.shields.io/badge/AppVersion-4.9.0-informational?style=flat-square) +![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.9.0](https://img.shields.io/badge/AppVersion-4.9.0-informational?style=flat-square) ChirpStack Kubernetes Chart @@ -37,6 +37,7 @@ ChirpStack Kubernetes Chart | chirpstack.postgres.database | string | `"chirpstack"` | | | chirpstack.postgres.host | string | `"localhost"` | | | chirpstack.postgres.password | string | `"postgres"` | | +| chirpstack.postgres.port | int | `5432` | | | chirpstack.postgres.sslMode | string | `"disable"` | | | chirpstack.postgres.user | string | `"postgres"` | | | chirpstack.redis.cluster | bool | `false` | | diff --git a/charts/chirpstack/templates/chirpstack/configmap.yaml b/charts/chirpstack/templates/chirpstack/configmap.yaml index 4551f47..1e0511c 100644 --- a/charts/chirpstack/templates/chirpstack/configmap.yaml +++ b/charts/chirpstack/templates/chirpstack/configmap.yaml @@ -12,7 +12,7 @@ data: [postgresql] - dsn="postgres://{{ .Values.chirpstack.postgres.user }}:{{ .Values.chirpstack.postgres.password }}@{{ .Values.chirpstack.postgres.host }}/{{ .Values.chirpstack.postgres.database }}?sslmode={{ .Values.chirpstack.postgres.sslMode }}" + dsn="postgres://{{ .Values.chirpstack.postgres.user }}:{{ .Values.chirpstack.postgres.password }}@{{ .Values.chirpstack.postgres.host }}:{{ .Values.chirpstack.postgres.port }}/{{ .Values.chirpstack.postgres.database }}?sslmode={{ .Values.chirpstack.postgres.sslMode }}" max_open_connections=10 min_idle_connections=0 diff --git a/charts/chirpstack/values.yaml b/charts/chirpstack/values.yaml index 38fd6d9..e71521a 100644 --- a/charts/chirpstack/values.yaml +++ b/charts/chirpstack/values.yaml @@ -44,6 +44,9 @@ chirpstack: # Hostname of the database server host: localhost + # Port of the database server + port: 5432 + # Name of the database to use for ChirpStack database: chirpstack