Skip to content

Commit 2c374f8

Browse files
committed
feat(chirpstack): add database port value
1 parent 69baac9 commit 2c374f8

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

charts/chirpstack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.1.0
18+
version: 1.1.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/chirpstack/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# chirpstack
22

3-
![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)
3+
![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)
44

55
ChirpStack Kubernetes Chart
66

@@ -37,6 +37,7 @@ ChirpStack Kubernetes Chart
3737
| chirpstack.postgres.database | string | `"chirpstack"` | |
3838
| chirpstack.postgres.host | string | `"localhost"` | |
3939
| chirpstack.postgres.password | string | `"postgres"` | |
40+
| chirpstack.postgres.port | int | `5432` | |
4041
| chirpstack.postgres.sslMode | string | `"disable"` | |
4142
| chirpstack.postgres.user | string | `"postgres"` | |
4243
| chirpstack.redis.cluster | bool | `false` | |

charts/chirpstack/templates/chirpstack/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ data:
1212
1313
1414
[postgresql]
15-
dsn="postgres://{{ .Values.chirpstack.postgres.user }}:{{ .Values.chirpstack.postgres.password }}@{{ .Values.chirpstack.postgres.host }}/{{ .Values.chirpstack.postgres.database }}?sslmode={{ .Values.chirpstack.postgres.sslMode }}"
15+
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 }}"
1616
1717
max_open_connections=10
1818
min_idle_connections=0

charts/chirpstack/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ chirpstack:
4444
# Hostname of the database server
4545
host: localhost
4646

47+
# Port of the database server
48+
port: 5432
49+
4750
# Name of the database to use for ChirpStack
4851
database: chirpstack
4952

0 commit comments

Comments
 (0)