From bdfe317e20c9cc5d9e972e51d995faf59b86197d Mon Sep 17 00:00:00 2001 From: James Blair Date: Fri, 4 Mar 2022 04:09:13 +1300 Subject: [PATCH] Fix deprecated helm chart dependency (#2944) --- kubernetes/Chart.lock | 8 ++++---- kubernetes/Chart.yaml | 6 +++--- kubernetes/values.yaml | 21 +++++++++++++-------- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/kubernetes/Chart.lock b/kubernetes/Chart.lock index 1799798b..37fcdbbd 100644 --- a/kubernetes/Chart.lock +++ b/kubernetes/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: postgresql - repository: https://kubernetes-charts.storage.googleapis.com/ - version: 8.3.0 -digest: sha256:1feec3c396cbf27573dc201831ccd3376a4a6b58b2e7618ce30a89b8f5d707fd -generated: "2020-02-07T13:39:38.624846+01:00" + repository: https://charts.bitnami.com/bitnami/ + version: 11.1.3 +digest: sha256:79061645472b6fb342d45e8e5b3aacd018ef5067193e46a060bccdc99fe7f6e1 +generated: "2022-03-02T05:57:20.081432389+13:00" diff --git a/kubernetes/Chart.yaml b/kubernetes/Chart.yaml index 9e4b793e..ca44f4b7 100644 --- a/kubernetes/Chart.yaml +++ b/kubernetes/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: invidious description: Invidious is an alternative front-end to YouTube -version: 1.1.0 +version: 1.1.1 appVersion: 0.20.1 keywords: - youtube @@ -17,6 +17,6 @@ maintainers: email: mail@leonklingele.de dependencies: - name: postgresql - version: ~8.3.0 - repository: "https://kubernetes-charts.storage.googleapis.com/" + version: ~11.1.3 + repository: "https://charts.bitnami.com/bitnami/" engine: gotpl diff --git a/kubernetes/values.yaml b/kubernetes/values.yaml index f241970c..2dc4db2c 100644 --- a/kubernetes/values.yaml +++ b/kubernetes/values.yaml @@ -14,7 +14,7 @@ autoscaling: targetCPUUtilizationPercentage: 50 service: - type: clusterIP + type: ClusterIP port: 3000 #loadBalancerIP: @@ -32,14 +32,19 @@ securityContext: runAsGroup: 1000 fsGroup: 1000 -# See https://github.com/helm/charts/tree/master/stable/postgresql +# See https://github.com/bitnami/charts/tree/master/bitnami/postgresql postgresql: - postgresqlUsername: kemal - postgresqlPassword: kemal - postgresqlDatabase: invidious - initdbUsername: kemal - initdbPassword: kemal - initdbScriptsConfigMap: invidious-postgresql-init + image: + registry: quay.io + auth: + username: kemal + password: kemal + database: invidious + primary: + initdb: + username: kemal + password: kemal + scriptsConfigMap: invidious-postgresql-init # Adapted from ../config/config.yml config: