2023-08-30 11:20:51 +02:00
|
|
|
# nextcloud-kustom
|
|
|
|
|
2023-09-04 12:40:18 +02:00
|
|
|
Base include :
|
|
|
|
|
|
|
|
- nextcloud app
|
|
|
|
- postgres
|
|
|
|
- ...
|
|
|
|
|
|
|
|
Default configuration (base directory) :
|
|
|
|
|
|
|
|
- use an external S3,
|
|
|
|
- use local authentication,
|
|
|
|
- use internal K8s certificate,
|
|
|
|
- use postgresSQL
|
|
|
|
|
|
|
|
If you want change, you must do your configuration in the overlays section
|
|
|
|
|
|
|
|
Overlays dev sections install :
|
|
|
|
|
|
|
|
- base
|
|
|
|
- rename namespace to nextcloud-dev
|
|
|
|
- use cert-manager (to install CRDs requirement, check requires/)
|
|
|
|
|
|
|
|
**To install a test cluster on your machine**
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-08-30 11:45:59 +02:00
|
|
|
1. Create cluster
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-08-30 11:45:59 +02:00
|
|
|
```kind create cluster --config requires/cluster/cluster.yaml```
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-09-04 12:40:18 +02:00
|
|
|
2. Install operators, cert-manager and openldap(dev)
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-08-30 11:45:59 +02:00
|
|
|
```kubectl apply -k requires/```
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-08-30 11:45:59 +02:00
|
|
|
3. Define IP poll address
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-08-30 11:45:59 +02:00
|
|
|
```kubectl apply -k base/cluster/lb```
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-08-30 11:45:59 +02:00
|
|
|
4. Install nextcloud
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-08-30 11:45:59 +02:00
|
|
|
```kubectl apply -k overlays/dev```
|
2023-08-30 11:43:44 +02:00
|
|
|
|
2023-08-30 16:35:48 +02:00
|
|
|
|