feat(Seafile): Add manual/docs and made FQDN required (#10576)

**Description**

Added install notes and made the SEAFILE_SERVER_HOSTNAME default since
we only support ingress with this chart.

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

**⚙️ Type of change**

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

**🧪 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
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 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

** App addition**

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

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ 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._
This commit is contained in:
StevenMcElligott
2023-07-18 14:03:47 -04:00
committed by GitHub
parent 5db4ba1f59
commit 8d728afecd
7 changed files with 40 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/seafile
- https://seafile.com
type: application
version: 0.0.4
version: 0.0.5
annotations:
truecharts.org/catagories: |
- file-storage
Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

@@ -0,0 +1,35 @@
# Seafile installation notes and guidelines
## Ingress
Our install requires a FQDN or domain name entered when installing the chart. This doesn't mean you need Traefik however we support only installs using FQDN with valid certificates + Traefik installed
## Storage
Seafile uses Block storage so files/folders uploaded to Seafile aren't visible by default when mounting the persisted storage. For more information see the this [post](https://forum.seafile.com/t/maintain-file-name-after-upload/11190/3) on the Seafile Forums. As well, Seafile uses init scripts which need to be run as `root` so if `hostpath` is used (such as using HDDs) then make sure your storage is owned by `root`.
## WebDAV
By default WebDAV is disabled by default, as per [upstream docs](https://manual.seafile.com/extension/webdav/). Here's some simple instructions to modify your `seafdav.conf` to enable WebDAV if you wish to use it with Traefik.
- Enter Seafile Pod Shell
![SeafilePod](img/SeafilePod.png)
- Use the CLI to enter the Seafile WebDAV (`seafdav.conf`) config file
![SeafileShell](img/SeafileShell.png)
- Use vi commands to edit the `Enabled` to `true` and change the share name as desired (default is `/seafdav`).
> Use `i` to insert text and and `:wq`, and `ESC key` to exit insert mode
![SeafileWebDAVConf](img/SeafileSeafdavConf.png)
- Restart Seafile and your WebDAV share will be accessible using your domain.com/seafdav
![SeafileWebDAV](img/SeafileWebDAV.png)
## FUSE Extension
The FUSE extension isn't supported by default due to privileges required by the extension and non-standard mounts, so no support tickets will be accepted for using/enabling it.
+4 -2
View File
@@ -19,16 +19,18 @@ questions:
type: dict
attrs:
- variable: SEAFILE_SERVER_HOSTNAME
label: "Seafile Server Hostname"
description: "If using ingress, set your FQDN here"
label: "Seafile Server Hostname - Required"
description: "Set your FQDN name here using app.mydomain.com without https"
schema:
type: string
required: true
default: ""
- variable: SEAFILE_ADMIN_EMAIL
label: "Seafile Admin Email"
description: "Initial admin email."
schema:
type: string
required: true
default: "me@example.com"
- variable: SEAFILE_ADMIN_PASSWORD
label: "Seafile Admin Password"