Setup Nextcloud again
This commit is contained in:
@@ -81,22 +81,20 @@ apps:
|
|||||||
state: present
|
state: present
|
||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
enabled: false
|
enabled: true
|
||||||
namespace: nextcloud
|
namespace: nextcloud
|
||||||
state: present
|
|
||||||
|
|
||||||
|
|
||||||
hello_world:
|
hello_world:
|
||||||
enabled: true
|
enabled: false
|
||||||
namespace: default
|
namespace: default
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
funkwhale:
|
funkwhale:
|
||||||
enabled: true
|
enabled: false
|
||||||
namespace: funkwhale
|
namespace: funkwhale
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: false
|
||||||
namespace: redis
|
namespace: redis
|
||||||
state: present
|
state: present
|
||||||
|
|||||||
@@ -152,17 +152,17 @@ nextcloud:
|
|||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
# existingClaim: nextcloud-main-0
|
existingClaim: nextcloud-main-0
|
||||||
nextcloudData:
|
# nextcloudData:
|
||||||
enabled: true
|
# enabled: true
|
||||||
existingClaim: nextcloud-data-0
|
# existingClaim: nextcloud-data-0
|
||||||
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
|
|
||||||
startupProbe:
|
startupProbe:
|
||||||
enabled: true
|
enabled: true
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 90
|
||||||
|
|
||||||
internalDatabase:
|
internalDatabase:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -176,6 +176,7 @@ externalDatabase:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
architecture: standalone
|
||||||
|
|
||||||
cronjob:
|
cronjob:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -8,23 +8,23 @@
|
|||||||
name: "{{apps.nextcloud.namespace}}"
|
name: "{{apps.nextcloud.namespace}}"
|
||||||
api_version: v1
|
api_version: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
state: "{{apps.nextcloud.state}}"
|
state: "{{present}}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
||||||
- name: create persistent volume resources
|
- name: create persistent volume resources
|
||||||
kubernetes.core.k8s:
|
kubernetes.core.k8s:
|
||||||
kubeconfig: "/etc/rancher/k3s/k3s.yaml"
|
kubeconfig: "/etc/rancher/k3s/k3s.yaml"
|
||||||
state: "{{apps.nextcloud.state}}"
|
state: "present"
|
||||||
definition: "{{ lookup('template', item) | from_yaml }}"
|
definition: "{{ lookup('template', item) | from_yaml }}"
|
||||||
loop:
|
loop:
|
||||||
- nextcloud/pv-apps.yaml
|
# - nextcloud/pv-apps.yaml
|
||||||
- nextcloud/pv-data.yaml
|
# - nextcloud/pv-data.yaml
|
||||||
- nextcloud/pv-configs.yaml
|
# - nextcloud/pv-configs.yaml
|
||||||
- nextcloud/pv-main.yaml
|
- nextcloud/pv-main.yaml
|
||||||
- nextcloud/pv-apps-claim.yaml
|
# - nextcloud/pv-apps-claim.yaml
|
||||||
- nextcloud/pv-data-claim.yaml
|
# - nextcloud/pv-data-claim.yaml
|
||||||
- nextcloud/pv-configs-claim.yaml
|
# - nextcloud/pv-configs-claim.yaml
|
||||||
- nextcloud/pv-main-claim.yaml
|
- nextcloud/pv-main-claim.yaml
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
- name: Install Nextcloud Release
|
- name: Install Nextcloud Release
|
||||||
local_action:
|
local_action:
|
||||||
module: kubernetes.core.helm
|
module: kubernetes.core.helm
|
||||||
release_state: "{{apps.nextcloud.state}}"
|
release_state: "present"
|
||||||
name: nextcloud
|
name: nextcloud
|
||||||
namespace: "{{apps.nextcloud.namespace}}"
|
namespace: "{{apps.nextcloud.namespace}}"
|
||||||
create_namespace: yes
|
create_namespace: yes
|
||||||
|
|||||||
@@ -13,5 +13,6 @@ spec:
|
|||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/opt/data/nextcloud2/apps"
|
path: "/opt/data/T2/nextcloud/apps"
|
||||||
|
# path: "/opt/data/nextcloud2/apps"
|
||||||
|
|
||||||
|
|||||||
@@ -13,5 +13,6 @@ spec:
|
|||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/opt/data/nextcloud2/config"
|
path: "/opt/data/T2/nextcloud/config"
|
||||||
|
# path: "/opt/data/nextcloud2/config"
|
||||||
|
|
||||||
|
|||||||
@@ -13,5 +13,6 @@ spec:
|
|||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/opt/data/nextcloud/2022/data"
|
path: "/opt/data/T2/nextcloud/data"
|
||||||
|
# path: "/opt/data/nextcloud/2022/data"
|
||||||
|
|
||||||
|
|||||||
@@ -13,5 +13,6 @@ spec:
|
|||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/opt/data/nextcloud2/main"
|
path: "/opt/data/T2/nextcloud/main"
|
||||||
|
# path: "/opt/data/nextcloud2/main"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user