fix(seafile): **BREAKING** Update to version 13 (#40139)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
Update Seafile to v13.0.
Chart now all based upon:
- https://manual.seafile.com/13.0/repo/k8s/ce/seafile-deployment.yaml
-
https://manual.seafile.com/13.0/repo/k8s/ce/seafile-persistentvolume.yaml
-
https://manual.seafile.com/13.0/repo/k8s/ce/seafile-persistentvolumeclaim.yaml
- https://manual.seafile.com/13.0/repo/k8s/ce/seafile-service.yaml
- https://manual.seafile.com/13.0/repo/k8s/ce/seafile-env.yaml

⚒️ Fixes  # <!--(issue)-->
 #39216 

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [x] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [x] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->
Deployed with app-template on my own cluster.


**📃 Notes:**
<!-- Please enter any other relevant information here -->
Be carefull when updating! Make backups from the Seafile PVC and from
the MariaDB Databases

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Boemeltrein <130394941+Boemeltrein@users.noreply.github.com>
This commit is contained in:
Boemeltrein
2025-09-28 19:28:23 +02:00
committed by GitHub
parent 3cf032d9be
commit 222f328010
3 changed files with 54 additions and 60 deletions
+4 -7
View File
@@ -2,8 +2,6 @@ annotations:
artifacthub.io/links: |-
- name: support
url: https://discord.com/invite/tVsPTHWTtr
max_scale_version: 24.04.1
min_scale_version: 24.04.0
truecharts.org/category: file-storage
truecharts.org/max_helm_version: "3.17"
truecharts.org/max_kubernetes_version: 1.32.0
@@ -27,10 +25,10 @@ dependencies:
alias: ""
tags: []
import-values: []
- name: memcached
version: 16.7.2
- name: redis
version: 17.8.2
repository: oci://oci.trueforge.org/truecharts
condition: memcached.enabled
condition: redis.enabled
alias: ""
tags: []
import-values: []
@@ -50,10 +48,9 @@ maintainers:
url: https://truecharts.org
name: seafile
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/seafile
- https://github.com/trueforge-org/truecharts/tree/master/charts/stable/seafile
- https://hub.docker.com/r/seafileltd/seafile-mc
- https://seafile.com
type: application
version: 11.4.3
version: 12.0.0
+1 -2
View File
@@ -19,11 +19,10 @@ workload:
ingress:
main:
enabled: true
ingressClassName: internal
hosts:
- host: seafile.${DOMAIN}
integrations:
traefik:
enabled: true
certManager:
enabled: true
certificateIssuer: cloudflare
+49 -51
View File
@@ -1,83 +1,81 @@
image:
repository: docker.io/seafileltd/seafile-mc
tag: 12.0.14@sha256:8d0dd6b682c12cb0e1d4f1f73ba223b0176e9e3d43805408a2f631706e9c10e8
tag: 13.0.11@sha256:4dd0e2e737bce194fc576d008d14346d85f10f632862d9758e6fb79546d85ae4
pullPolicy: IfNotPresent
service:
main:
ports:
main:
port: 13080
port: 80
protocol: http
targetPort: 80
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
env:
CACHE_PROVIDER: memcached
DB_HOST:
# Init for Seafile admin
INIT_SEAFILE_ADMIN_EMAIL: "me@example.com"
INIT_SEAFILE_ADMIN_PASSWORD: "a_very_secret_password"
# for Seafile server
TIME_ZONE: "UTC"
SEAFILE_LOG_TO_STDOUT: "true"
SITE_ROOT: "/"
SEAFILE_SERVER_HOSTNAME: "seafile.mydomain.com"
SEAFILE_SERVER_PROTOCOL: "https"
# other secrets
JWT_PRIVATE_KEY: "a_very_very_very_very_secret_key"
# for database
SEAFILE_MYSQL_DB_HOST:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
key: plainhost
DB_ROOT_PASSWD: "{{ .Values.mariadb.rootPassword }}"
DB_PASSWORD: "{{ .Values.mariadb.password }}"
SEAFILE_SERVER_LETSENCRYPT: false
SEAFILE_SERVER_HOSTNAME: ""
INIT_SEAFILE_ADMIN_EMAIL: me@example.com
INIT_SEAFILE_ADMIN_PASSWORD: a_very_secret_password
FORCE_HTTPS_IN_CONF: false
JWT_PRIVATE_KEY: a_very_very_very_very_secret_key
CLUSTER_SERVER: "true"
CLUSTER_INIT_MODE: "true"
CLUSTER_INIT_MEMCACHED_HOST: '{{ printf "%v-%v" .Release.Name "memcached" }}'
configmap:
env:
enabled: true
data:
env: |
CACHE_PROVIDER= memcached
TIME_ZONE={{ .Values.TZ }}
JWT_PRIVATE_KEY={{ .Values.workload.main.podSpec.containers.main.env.JWT_PRIVATE_KEY }}
SEAFILE_SERVER_PROTOCOL=http
SEAFILE_SERVER_HOSTNAME={{ .Values.workload.main.podSpec.containers.main.env.SEAFILE_SERVER_HOSTNAME }}
SEAFILE_MYSQL_DB_HOST={{ printf "%v-%v" .Release.Name "mariadb" }}
SEAFILE_MYSQL_DB_PORT=3306
SEAFILE_MYSQL_DB_USER={{ .Values.mariadb.mariadbUsername }}
SEAFILE_MYSQL_DB_PASSWORD={{ .Values.mariadb.password }}
SEAFILE_MYSQL_DB_CCNET_DB_NAME=ccnet
SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile
SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=seahub
SEAFILE_MYSQL_DB_PORT: "3306"
SEAFILE_MYSQL_DB_USER: "seafile"
SEAFILE_MYSQL_DB_CCNET_DB_NAME: "ccnet_db"
SEAFILE_MYSQL_DB_SEAFILE_DB_NAME: "seafile_db"
SEAFILE_MYSQL_DB_SEAHUB_DB_NAME: "seahub_db"
INIT_SEAFILE_MYSQL_ROOT_PASSWORD: "{{ .Values.mariadb.rootPassword }}"
SEAFILE_MYSQL_DB_PASSWORD: "{{ .Values.mariadb.password }}"
# for cached
CACHE_PROVIDER: "redis"
## for redis
REDIS_HOST:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
key: plainhost
REDIS_PORT: "6379"
REDIS_PASSWORD: "{{ .Values.redis.password }}"
# for notification
ENABLE_NOTIFICATION_SERVER: "false"
NOTIFICATION_SERVER_URL: ""
# for seadoc
ENABLE_SEADOC: "false"
SEADOC_SERVER_URL: "" # only valid in ENABLE_SEADOC = true
# Seafile AI
ENABLE_SEAFILE_AI: "false"
SEAFILE_AI_SERVER_URL: "<required when ENABLE_SEAFILE_AI=true>"
# Matedata server
MD_FILE_COUNT_LIMIT: "100000"
persistence:
storage:
enabled: true
mountPath: "/shared/seafile"
env:
enabled: true
type: configmap
objectName: env
expandObjectName: true
optional: false
defaultMode: "0777"
items:
- key: env
path: env
targetSelector:
main:
main:
mountPath: /shared/seafile/conf/.env
subPath: env
mariadb:
enabled: true
mariadbUsername: seafile
mariadbDatabase: seafile
memcached:
redis:
enabled: true