using kustomization for deploy

This commit is contained in:
2025-12-31 20:27:59 +00:00
parent 3e5ba0ccfa
commit 84111b37ce
14 changed files with 55 additions and 156 deletions

View File

@@ -11,10 +11,7 @@ Using [NextCloud](https://nextcloud.com/)
- [repair tree](#repair-tree)
- [delete file locks](#delete-file-locks)
- [Setup](#setup)
- [kubernetes Namespace](#kubernetes-namespace)
- [Add helm chart](#add-helm-chart)
- [Update Helm chart](#update-helm-chart)
- [Install / Update](#install--update)
- [Requirements - infra](#requirements---infra)
## command
@@ -65,34 +62,12 @@ su -s /bin/bash www-data -c "php occ files:repair-tree"
## Setup
### kubernetes Namespace
``` yaml
apiVersion: v1
kind: Namespace
metadata:
name: cloud-limbosolutions-com
labels:
name: cloud-limbosolutions-com
```bash
./ops-scripts/apply-app.sh
```
### Add helm chart
``` bash
helm repo add nextcloud https://nextcloud.github.io/helm/
```
### Update Helm chart
## Requirements - infra
```bash
helm repo update nextcloud
```
### Install / Update
``` bash
helm upgrade --install nextcloud nextcloud/nextcloud \
--values ./nextcloud/values.yaml \
--values ./nextcloud/values.local.yaml \
--namespace=cloud-limbosolutions-com
./ops-scripts/apply-infra.sh
```