Skip to content

Commit

Permalink
fix Grafana database creation init psql connection
Browse files Browse the repository at this point in the history
  • Loading branch information
BWibo committed Feb 3, 2023
1 parent 1b55849 commit 0c35392
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Versions are prefixed with `tum-gis-iot-stack-k8s-` due to usage of
[chart-releaser-action](https://github.com/helm/chart-releaser-action).
For releases `< 1.0.0` minor version step indicate breaking changes.

## [tum-gis-iot-stack-k8s-0.8.2]: - 2023-02-03

### Changed

- Grafana database creation container now uses `template1` db for connection,
as it is usally available on all postgres servers.

## [tum-gis-iot-stack-k8s-0.8.1]: - 2023-02-02

### Changed
Expand Down Expand Up @@ -35,3 +42,4 @@ For releases `< 1.0.0` minor version step indicate breaking changes.
[template]: https://keepachangelog.com/en/1.0.0/
[tum-gis-iot-stack-k8s-0.8.0]: https://github.com/tum-gis/tum-gis-iot-stack-k8s/compare/tum-gis-iot-stack-k8s-0.1.1...tum-gis-iot-stack-k8s-0.8.0
[tum-gis-iot-stack-k8s-0.8.1]: https://github.com/tum-gis/tum-gis-iot-stack-k8s/compare/tum-gis-iot-stack-k8s-0.8.0...tum-gis-iot-stack-k8s-0.8.1
[tum-gis-iot-stack-k8s-0.8.2]: https://github.com/tum-gis/tum-gis-iot-stack-k8s/compare/tum-gis-iot-stack-k8s-0.8.1...tum-gis-iot-stack-k8s-0.8.2
2 changes: 1 addition & 1 deletion helm/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ maintainers:
name: Bruno Willenborg
url: https://www.asg.ed.tum.de/en/gis/our-team/staff/bruno-willenborg/

version: 0.8.1
version: 0.8.2
appVersion: "0.0.1"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion helm/charts/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tum-gis-iot-stack-k8s

![Version: 0.8.1](https://img.shields.io/badge/Version-0.8.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
![Version: 0.8.2](https://img.shields.io/badge/Version-0.8.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)

Helm Chart for the TUM-GI IoT stack.

Expand Down
2 changes: 1 addition & 1 deletion helm/charts/charts/grafana/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: grafana
description: Grafana instance
type: application
version: 0.6.1
version: 0.6.2
appVersion: "9.3.6"
2 changes: 1 addition & 1 deletion helm/charts/charts/grafana/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# grafana

![Version: 0.6.1](https://img.shields.io/badge/Version-0.6.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 9.3.6](https://img.shields.io/badge/AppVersion-9.3.6-informational?style=flat-square)
![Version: 0.6.2](https://img.shields.io/badge/Version-0.6.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 9.3.6](https://img.shields.io/badge/AppVersion-9.3.6-informational?style=flat-square)

Grafana instance

Expand Down
12 changes: 2 additions & 10 deletions helm/charts/charts/grafana/templates/grafana-depl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,12 @@ spec:
value: {{ .Values.database.host | quote }}
- name: PGPORT
value: {{ .Values.database.port | quote }}
- name: PGDATABASE
value: template1
- name: PGUSER
value: {{ .Values.database.auth.username | quote }}
- name: PGPASSWORD
value: {{ .Values.database.auth.password | quote }}

# - name: wait-for-psql
# image: bwibo/wait-for-psql
# args:
# - "60"
# - {{ .Values.database.host | quote }}
# - {{ .Values.database.port | quote }}
# - {{ .Values.database.dbname | quote }}
# - {{ .Values.database.auth.username | quote }}
# - {{ .Values.database.auth.password | squote }}
{{ end }}

containers:
Expand Down

0 comments on commit 0c35392

Please sign in to comment.