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