From bdae0e30c82c81bd95c644b328dc1ce574d282ba Mon Sep 17 00:00:00 2001 From: TrueCharts Bot Date: Wed, 25 Jun 2025 22:01:58 +0200 Subject: [PATCH] =?UTF-8?q?chore(helm):=20BREAKING=20update=20image=20dock?= =?UTF-8?q?er.io/cloudreve/cloudreve=203.8.3=20=E2=86=92=204.0.0=20(#36623?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | docker.io/cloudreve/cloudreve | major | `b6c8bfd` -> `70da0d4` | Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). --------- Signed-off-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com> Co-authored-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com> --- charts/stable/cloudreve/Chart.yaml | 11 +++++- charts/stable/cloudreve/values.yaml | 57 +++++++++++++---------------- 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/charts/stable/cloudreve/Chart.yaml b/charts/stable/cloudreve/Chart.yaml index 5ecd3e7c04d..b9b1dcbf994 100644 --- a/charts/stable/cloudreve/Chart.yaml +++ b/charts/stable/cloudreve/Chart.yaml @@ -9,7 +9,7 @@ annotations: truecharts.org/min_helm_version: "3.14" truecharts.org/train: stable apiVersion: v2 -appVersion: 3.8.3 +appVersion: 4.0.0 dependencies: - name: common version: 25.4.10 @@ -18,6 +18,13 @@ dependencies: alias: "" tags: [] import-values: [] + - name: redis + version: 16.0.5 + repository: oci://tccr.io/truecharts + condition: redis.enabled + alias: "" + tags: [] + import-values: [] deprecated: false description: Self-hosted file management and sharing system, supports multiple storage providers home: https://truecharts.org/charts/stable/cloudreve @@ -37,5 +44,5 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/cloudreve - https://hub.docker.com/r/cloudreve/cloudreve type: application -version: 8.5.1 +version: 9.0.0 diff --git a/charts/stable/cloudreve/values.yaml b/charts/stable/cloudreve/values.yaml index 430cbfa0cd2..4b57626a554 100644 --- a/charts/stable/cloudreve/values.yaml +++ b/charts/stable/cloudreve/values.yaml @@ -1,48 +1,43 @@ image: pullPolicy: IfNotPresent repository: docker.io/cloudreve/cloudreve - tag: 3.8.3@sha256:b6c8bfd463898354831c311fb3967a410714a5319b5a86c4bf5d89e0487cc5bd + tag: 4.0.0@sha256:70da0d460bc0d6e8ea7455eeb9844031dadc8f6a745efe7f250971ff4443a4cf +workload: + main: + podSpec: + containers: + main: + env: + CR_CONF_Database.Type: postgres + CR_CONF_Database.Host: "{{ .Values.cnpg.main.creds.host }}" + CR_CONF_Database.User: "{{ .Values.cnpg.main.user }}" + CR_CONF_Database.Name: "{{ .Values.cnpg.main.database }}" + CR_CONF_Database.Password: "{{ .Values.cnpg.main.creds.password }}" + CR_CONF_Database.Port: 5432 + CR_CONF_Redis.Server: '{{ .Values.redis.creds.plain | trimAll "\"" }}:6379' + CR_CONF_Redis.User: "{{ .Values.redis.redisUsername }}" + CR_CONF_Redis.Password: "{{ .Values.redis.creds.redisPassword }}" persistence: - avatarpath: - enabled: true - mountPath: /cloudreve/avatar config: enabled: true - targetSelector: - main: - main: - mountPath: /cloudreve - init: - mountPath: /conf-init - uploadpath: - enabled: true - mountPath: /cloudreve/uploads + mountPath: "/cloudreve/data" securityContext: container: readOnlyRootFilesystem: false runAsGroup: 0 runAsUser: 0 -workload: - main: - podSpec: - initContainers: - init: - enabled: true - type: init - imageSelector: image - command: - - "/bin/sh" - - "-c" - - | - set -x - ls -lasth /cloudreve - cp -a /cloudreve/cloudreve /conf-init/cloudreve - ls -lasht /conf-init - containers: - main: {} service: main: ports: main: port: 5212 targetPort: 5212 +redis: + enabled: true + includeCommon: true + redisUsername: default +cnpg: + main: + enabled: true + user: cloudreve + database: cloudreve