Adding nextcloud stuff & migration to latest version
This commit is contained in:
parent
6f6fcf9cf9
commit
fa6fe1c499
|
|
@ -248,7 +248,8 @@ Includes *persistent data* from mariadb table `tt-rss`.
|
||||||
```sh
|
```sh
|
||||||
helm upgrade --install tt-rss-mariadb bitnami/mariadb -n tt-rss -f tt-rss/tt-rss-mariadb.secret.yml
|
helm upgrade --install tt-rss-mariadb bitnami/mariadb -n tt-rss -f tt-rss/tt-rss-mariadb.secret.yml
|
||||||
helm upgrade --install tt-rss-phpmyadmin bitnami/phpmyadmin -n tt-rss -f tt-rss/tt-rss-phpmyadmin.yml
|
helm upgrade --install tt-rss-phpmyadmin bitnami/phpmyadmin -n tt-rss -f tt-rss/tt-rss-phpmyadmin.yml
|
||||||
kubectl apply -f tt-rss/
|
|
||||||
|
helm upgrade --install tt-rss k8s-at-home/tt-rss -n tt-rss -f tt-rss/tt-rss.helm.secret.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
## monitoring
|
## monitoring
|
||||||
|
|
@ -349,10 +350,24 @@ kubectl apply $(ls octobot-fabi/*.yaml | awk ' { print " -f " $1 } ')
|
||||||
```sh
|
```sh
|
||||||
helm repo add nextcloud https://nextcloud.github.io/helm/
|
helm repo add nextcloud https://nextcloud.github.io/helm/
|
||||||
helm repo update
|
helm repo update
|
||||||
helm upgrade --install nextcloud nextcloud/nextcloud -n nextcloud --version 2.0.2 -f nextcloud/nextcloud.secret.yml
|
helm upgrade --install nextcloud nextcloud/nextcloud -n nextcloud --version 2.14.1 -f nextcloud/nextcloud.secret.yml
|
||||||
helm upgrade --install nextcloud-phpmyadmin bitnami/phpmyadmin -n nextcloud -f nextcloud/nextcloud-phpmyadmin.yml
|
helm upgrade --install nextcloud-phpmyadmin bitnami/phpmyadmin -n nextcloud -f nextcloud/nextcloud-phpmyadmin.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Execute occ in container:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
runuser --user www-data -- /usr/local/bin/php /var/www/html/occ
|
||||||
|
```
|
||||||
|
|
||||||
|
Delete stuff for upgrade (sometime necessary):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
kubectl delete sts/nextcloud-mariadb -n nextcloud
|
||||||
|
kubectl delete sts/nextcloud-redis-master -n nextcloud
|
||||||
|
kubectl delete deployment nextcloud -n nextcloud
|
||||||
|
```
|
||||||
|
|
||||||
### backup & restore
|
### backup & restore
|
||||||
|
|
||||||
#TODO with Velero
|
#TODO with Velero
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,16 @@ db:
|
||||||
host: nextcloud-mariadb
|
host: nextcloud-mariadb
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
hosts:
|
hostname: "nextcloud.phpmyadmin.haumdaucher.de"
|
||||||
- path: "/"
|
tls: "true"
|
||||||
tls: true
|
ingressClassName: "nginx"
|
||||||
name: "nextcloud.phpmyadmin.haumdaucher.de"
|
# hosts:
|
||||||
tlsSecret: "nextcloud-phpmyadmin-haumdaucher-de"
|
# - path: "/"
|
||||||
|
# tls: true
|
||||||
|
# name: "nextcloud.phpmyadmin.haumdaucher.de"
|
||||||
|
# tlsSecret: "nextcloud-phpmyadmin-haumdaucher-de"
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||||
|
kubernetes.io/ingress.class: nginx
|
||||||
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
|
|
@ -17,20 +17,29 @@ cronjob:
|
||||||
enabled: true
|
enabled: true
|
||||||
internalDatabase:
|
internalDatabase:
|
||||||
enabled: false
|
enabled: false
|
||||||
# externalDatabase:
|
externalDatabase:
|
||||||
# host: nextcloud-mariadb
|
host: nextcloud-mariadb
|
||||||
# user: nextcloud
|
user: nextcloud
|
||||||
# password: Uth3aecheiDouzohx4uajauyi
|
password: Uth3aecheiDouzohx4uajauyi
|
||||||
mariadb:
|
mariadb:
|
||||||
enabled: true
|
enabled: true
|
||||||
replication:
|
replication:
|
||||||
enabled: false
|
enabled: false
|
||||||
db:
|
# db:
|
||||||
|
# name: nextcloud
|
||||||
|
# user: nextcloud
|
||||||
|
# password: Uth3aecheiDouzohx4uajauyi
|
||||||
|
# rootUser:
|
||||||
|
# password: aeriukuow8shaiHoh4aimie5u
|
||||||
|
auth:
|
||||||
|
rootPassword: aeriukuow8shaiHoh4aimie5u
|
||||||
name: nextcloud
|
name: nextcloud
|
||||||
user: nextcloud
|
user: nextcloud
|
||||||
password: Uth3aecheiDouzohx4uajauyi
|
password: Uth3aecheiDouzohx4uajauyi
|
||||||
rootUser:
|
primary:
|
||||||
password: aeriukuow8shaiHoh4aimie5u
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: data-nextcloud-mariadb-0
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: true
|
||||||
cluster:
|
cluster:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue