diff --git a/charts/stable/tt-rss/Chart.yaml b/charts/stable/tt-rss/Chart.yaml index c2e9fdb2..4f233f86 100644 --- a/charts/stable/tt-rss/Chart.yaml +++ b/charts/stable/tt-rss/Chart.yaml @@ -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` diff --git a/charts/stable/tt-rss/templates/common.yaml b/charts/stable/tt-rss/templates/common.yaml index 6e7385e5..a825c85d 100644 --- a/charts/stable/tt-rss/templates/common.yaml +++ b/charts/stable/tt-rss/templates/common.yaml @@ -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 */}} diff --git a/charts/stable/tt-rss/values.yaml b/charts/stable/tt-rss/values.yaml index 50df2e70..73125f6b 100644 --- a/charts/stable/tt-rss/values.yaml +++ b/charts/stable/tt-rss/values.yaml @@ -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