remove old nextcloud glusterfs volumes and mounts
This commit is contained in:
@@ -81,7 +81,7 @@ apps:
|
||||
state: present
|
||||
|
||||
nextcloud:
|
||||
enabled: true
|
||||
enabled: false
|
||||
namespace: nextcloud
|
||||
|
||||
hello_world:
|
||||
@@ -90,9 +90,9 @@ apps:
|
||||
state: present
|
||||
|
||||
funkwhale:
|
||||
enabled: false
|
||||
enabled: true
|
||||
namespace: funkwhale
|
||||
state: present
|
||||
state: absent
|
||||
|
||||
redis:
|
||||
enabled: false
|
||||
|
||||
@@ -10,6 +10,7 @@ ingress:
|
||||
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
|
||||
- secretName: xai-corp-production-tls
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
postgresql:
|
||||
## If you already have a Postgresql service you'd like to use, set
|
||||
@@ -17,26 +18,39 @@ postgresql:
|
||||
enabled: true
|
||||
|
||||
## External Postgresql hostname or IP
|
||||
# host: postgresql.example.com
|
||||
# host: postgresql.postgres
|
||||
|
||||
auth:
|
||||
## Database user
|
||||
username: funkwhale
|
||||
|
||||
## Database password
|
||||
password: funkwhale
|
||||
password: 18hbc3u19dhqahgoh910y
|
||||
|
||||
## Database password
|
||||
## Database name
|
||||
database: funkwhale
|
||||
|
||||
## Database port
|
||||
service:
|
||||
port: 5432
|
||||
# service:
|
||||
# port: 5432
|
||||
|
||||
redis:
|
||||
## If you already have a Redis service you'd like to use, set
|
||||
## this to false and adjust the host to use your existing service.
|
||||
enabled: false
|
||||
enabled: true
|
||||
|
||||
## External Redis hostname or IP
|
||||
host: redis.redis
|
||||
# host: redis-master.redis
|
||||
|
||||
persistence:
|
||||
enabled: false
|
||||
# existingClaim: data-funkwhale-0
|
||||
# storageClass: "-"
|
||||
|
||||
## Note; Using ReadWriteOnce for persistence will require the addition of
|
||||
## a required affinity for the celery worker, as well as the use of only a
|
||||
## single api replica.
|
||||
##
|
||||
## An example is provided for the worker affinity
|
||||
accessMode: ReadWriteMany
|
||||
size: 1Gi
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
local_action:
|
||||
module: kubernetes.core.helm
|
||||
release_state: "{{apps.funkwhale.state}}"
|
||||
name: gitea
|
||||
name: funkwhale
|
||||
namespace: "{{apps.funkwhale.namespace}}"
|
||||
create_namespace: yes
|
||||
update_repo_cache: True
|
||||
|
||||
@@ -42,6 +42,10 @@
|
||||
include_tasks: deployments/redis.yaml
|
||||
when: apps.redis.enabled
|
||||
|
||||
- name: deploy funkwhale
|
||||
include_tasks: deployments/funkwhale.yaml
|
||||
when: apps.funkwhale.enabled
|
||||
|
||||
#-----------------------------------------------------
|
||||
#- include_tasks: mariadb.yaml
|
||||
#
|
||||
|
||||
13
ansible-5/roles/prod.k3s/templates/funkwhale/pv-claim.yaml
Normal file
13
ansible-5/roles/prod.k3s/templates/funkwhale/pv-claim.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: data-funkwhale-0
|
||||
namespace: "{{apps.funkwhale.namespace}}"
|
||||
spec:
|
||||
storageClassName: manual
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
17
ansible-5/roles/prod.k3s/templates/funkwhale/pv.yaml
Normal file
17
ansible-5/roles/prod.k3s/templates/funkwhale/pv.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# persistent volume
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: funkwhale-pv-local
|
||||
labels:
|
||||
type: local
|
||||
spec:
|
||||
storageClassName: manual
|
||||
capacity:
|
||||
storage: 100Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
hostPath:
|
||||
path: "/opt/data/T2/funkwhale"
|
||||
|
||||
Reference in New Issue
Block a user