Skip to content

Commit

Permalink
feat(chirpstack): add database port value
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuruyia committed Oct 4, 2024
1 parent 69baac9 commit 2c374f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/chirpstack/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: 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
Expand Down
3 changes: 2 additions & 1 deletion charts/chirpstack/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/chirpstack/templates/chirpstack/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions charts/chirpstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2c374f8

Please sign in to comment.