deploy folder restructured, preparing for flux, removed ghost pvc nextcloud-data, simplification of pvc names
This commit is contained in:
@@ -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 low‑privilege deployment identities, such as the **continuous‑deploy** 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 cluster‑level permissions and must be executed only by platform maintainers, not by the continuous‑deploy 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user