diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 92a0f768..bec56f1c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,13 @@ # See https://pre-commit.com for more information repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.4.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: fix-byte-order-marker + - id: mixed-line-ending + - repo: local hooks: - id: ct-lint diff --git a/charts/statping/Chart.yaml b/charts/statping/Chart.yaml index fe2e0801..b0ef5d7f 100644 --- a/charts/statping/Chart.yaml +++ b/charts/statping/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: statping description: Status page for monitoring your websites and applications type: application -version: 1.5.0 +version: 1.5.1 appVersion: v0.90.65 keywords: - statping @@ -18,5 +18,5 @@ icon: https://github.com/statping/statping/blob/dev/frontend/src/assets/logo.png dependencies: - name: postgresql repository: https://charts.bitnami.com/bitnami - version: 10.1.4 + version: 10.2.6 condition: postgres.posgresql.enabled diff --git a/charts/statping/README.md b/charts/statping/README.md index 97574974..bfeea11e 100644 --- a/charts/statping/README.md +++ b/charts/statping/README.md @@ -32,6 +32,5 @@ helm install statping \ Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example, ```console -helm install statping k8s-at-home/statping --values values.yaml +helm install statping k8s-at-home/statping --values values.yaml ``` - diff --git a/charts/statping/templates/deployment.yaml b/charts/statping/templates/deployment.yaml index ecf4620f..6134956f 100644 --- a/charts/statping/templates/deployment.yaml +++ b/charts/statping/templates/deployment.yaml @@ -102,7 +102,7 @@ spec: - name: DB_CONN value: postgres - name: DB_HOST - value: {{ template "postgresql.fullname" . }}-postgresql + value: {{ template "common.names.fullname" . }}-postgresql - name: DB_DATABASE value: {{ template "postgresql.database" . }} - name: DB_USER diff --git a/charts/statping/values.yaml b/charts/statping/values.yaml index 13674056..18185f23 100644 --- a/charts/statping/values.yaml +++ b/charts/statping/values.yaml @@ -108,6 +108,10 @@ postgres: enabled: true # See https://github.com/bitnami/charts/tree/master/bitnami/postgresql for configuration +# This is required for postgresql to render its fullname template +replication: + enabled: false + externalSecret: enabled: false type: kubernetes-external-secrets