deploy folder restructured, preparing for flux, removed ghost pvc nextcloud-data, simplification of pvc names

This commit is contained in:
Márcio Fernandes
2026-07-14 10:19:05 +00:00
parent 6438530fba
commit 3e8e2a4987
41 changed files with 316 additions and 426 deletions
+2 -43
View File
@@ -19,8 +19,6 @@ Using [NextCloud](https://nextcloud.com/)
- [Mimetype migrations available](#mimetype-migrations-available)
- [delete file locks](#delete-file-locks)
- [Setup and Deploy](#setup-and-deploy)
- [App](#app)
- [Infra](#infra)
- [internal logs](#internal-logs)
- [Database](#database)
@@ -147,47 +145,8 @@ su -s /bin/bash www-data -c "php occ maintenance:repair --include-expensive"
## Setup and Deploy
### App
**Security context:**
This script is intended to be executed only by lowprivilege deployment identities, such as the **continuousdeploy** ServiceAccount or an application maintainer with equivalent permissions.
Can be executed in VS Code using the “Apply App” task.
```bash
#!/bin/bash
./ops-scripts/apply-app.sh
```
**Responsibilities:**
- Database deployment
- Persistent Volume Claims (storage.limbosolutions.com)
- Nextcloud Helm chart deployment
- Backup job deployment
**Requirements:**
- [infra](#infra)
### Infra
**Security context:**
This script requires elevated clusterlevel permissions and must be executed only by platform maintainers, not by the continuousdeploy identity.
Can be executed in VS Code using the “Apply Infra” task.
```bash
./ops-scripts/apply-infra.sh
```
**Responsibilities:**
- Ingress controller deployment
- Persistent storage provisioning (storage.limbosolutions.com)
- services accounts:
- Continuous deploy - Deployment RBAC (ServiceAccount + Role + RoleBinding)
- All kustomizations can be executed using vscode task `Kustomize - Build & Deploy - Selected File`.
- Helm charts can be deployed using vscode task `Apply App`.
## internal logs