Add Velero annotations
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
(ns k8s.services.nextcloud.service)
|
(ns k8s.services.nextcloud.service)
|
||||||
|
|
||||||
;; Need to automate set-up/restore
|
|
||||||
(def config
|
(def config
|
||||||
{:stack [:vault:prepare :k8s:chart :k8s:httproute]
|
{:stack [:vault:prepare :k8s:chart :k8s:httproute]
|
||||||
:app-namespace "nextcloud"
|
:app-namespace "nextcloud"
|
||||||
@@ -9,7 +8,8 @@
|
|||||||
:vault-load-yaml true
|
:vault-load-yaml true
|
||||||
:k8s:chart-opts {:repositoryOpts {:repo "https://nextcloud.github.io/helm/"}
|
:k8s:chart-opts {:repositoryOpts {:repo "https://nextcloud.github.io/helm/"}
|
||||||
:values
|
:values
|
||||||
{:nextcloud {:host 'host
|
{:podAnnotations {"backup.velero.io/backup-volumes" "data"}
|
||||||
|
:nextcloud {:host 'host
|
||||||
:containerPort 80
|
:containerPort 80
|
||||||
:trustedDomains ['host 'app-name]
|
:trustedDomains ['host 'app-name]
|
||||||
:persistence {:enabled true
|
:persistence {:enabled true
|
||||||
@@ -17,9 +17,10 @@
|
|||||||
:accessMode "ReadWriteMany"
|
:accessMode "ReadWriteMany"
|
||||||
:size "1Ti"}}
|
:size "1Ti"}}
|
||||||
:service {:port 80}
|
:service {:port 80}
|
||||||
:mariadb {:enabled true
|
:mariadb {:enabled true
|
||||||
:architecture "standalone"
|
:architecture "standalone"
|
||||||
:primary {:persistence {:enabled true
|
:primary {:podAnnotations {"backup.velero.io/backup-volumes" "data"}
|
||||||
|
:persistence {:enabled true
|
||||||
:storageClass "hcloud-volumes"
|
:storageClass "hcloud-volumes"
|
||||||
:size "8Gi"}}
|
:size "8Gi"}}
|
||||||
;; Obligatory what the fuck Broadcom, why are you like this. RIP Bitnami
|
;; Obligatory what the fuck Broadcom, why are you like this. RIP Bitnami
|
||||||
|
|||||||
Reference in New Issue
Block a user