[tt-rss] Update Helm chart postgresql to v11 (#1666)

* [tt-rss] Update Helm chart postgresql to v11

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2022-07-01 14:21:50 +02:00 committed by GitHub
parent 72dbc21972
commit 802a863deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 15 deletions

View File

@ -3,7 +3,7 @@ apiVersion: v2
appVersion: v1.8723.0
description: Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator
name: tt-rss
version: 4.7.2
version: 5.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- tt-rss
@ -19,10 +19,12 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 4.4.2
- name: postgresql
version: 10.16.2
version: 11.6.12
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Upgraded `common` chart dependency to version 4.4.2
description: Upgraded `postgresql` chart dependency to version 11.6.12
- kind: changed
description: Changed the default user for the postgresql database to `tt-rss`

View File

@ -7,15 +7,15 @@
{{- end -}}
{{/* if TTRSS_DB_USER is not set use internal postgres chart */}}
{{- if eq .Values.env.TTRSS_DB_USER "" -}}
{{- $_ := set .Values.env "TTRSS_DB_USER" .Values.postgresql.postgresqlUsername -}}
{{- $_ := set .Values.env "TTRSS_DB_USER" .Values.postgresql.auth.username -}}
{{- end -}}
{{/* if TTRSS_DB_USER is not set use internal postgres chart */}}
{{- if eq .Values.env.TTRSS_DB_PASS "" -}}
{{- $_ := set .Values.env "TTRSS_DB_PASS" .Values.postgresql.postgresqlPassword -}}
{{- $_ := set .Values.env "TTRSS_DB_PASS" .Values.postgresql.auth.password -}}
{{- end -}}
{{/* if TTRSS_DB_USER is not set use internal postgres chart */}}
{{- if eq .Values.env.TTRSS_DB_NAME "" -}}
{{- $_ := set .Values.env "TTRSS_DB_NAME" .Values.postgresql.postgresqlDatabase -}}
{{- $_ := set .Values.env "TTRSS_DB_NAME" .Values.postgresql.auth.database -}}
{{- end -}}
{{/* Render the templates */}}

View File

@ -25,13 +25,13 @@ env:
# -- Postgres database port.
TTRSS_DB_PORT: "5432"
# -- Postgres database user name
# @default -- postgresql.postgresqlUsername value
# @default -- postgresql.auth.username value
TTRSS_DB_USER: ""
# -- Postgres database password
# @default -- postgresql.postgresqlPassword value
# @default -- postgresql.auth.password value
TTRSS_DB_PASS: ""
# -- Postgres database password
# @default -- postgresql.postgresqlDatabase value
# @default -- postgresql.auth.database value
TTRSS_DB_NAME: ""
# -- Configure the services for the chart here.
@ -53,12 +53,13 @@ ingress:
postgresql:
# -- By default uses an internal postgress. Dissable if you use your own Postgres.
enabled: true
# -- Postgres database user name
postgresqlUsername: postgres
# -- Postgres database password
postgresqlPassword: "changeme"
# -- Postgres database password
postgresqlDatabase: tt-rss
auth:
# -- Postgres database user name
username: tt-rss
# -- Postgres database password
password: "changeme"
# -- Postgres database
database: tt-rss
persistence:
# -- if database is stored to a PVC. Set to true when you are done testing.
enabled: false