chore: move fireflyiii to volsync PVCs
This commit is contained in:
parent
a72cb94dd6
commit
a8392da2a2
|
@ -60,8 +60,7 @@ spec:
|
|||
port: http
|
||||
|
||||
persistence:
|
||||
firefly-uploads:
|
||||
type: hostPath
|
||||
hostPath: /mnt/MainPool/Kubernetes/fireflyiii-uploads
|
||||
uploads:
|
||||
existingClaim: fireflyiii
|
||||
globalMounts:
|
||||
- path: /var/www/html/storage/upload
|
|
@ -1,6 +1,7 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../../../common/templates/volsync
|
||||
- ./env-secret.sops.yaml
|
||||
- ./helm-release.yaml
|
||||
- ./daily-cronjob.yaml
|
|
@ -0,0 +1,32 @@
|
|||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: &app fireflyiii
|
||||
namespace: flux-system
|
||||
spec:
|
||||
timeout: 5m
|
||||
interval: 10m
|
||||
targetNamespace: default
|
||||
path: ./kubernetes/main/apps/default/fireflyiii/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: home-cluster
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-gpg
|
||||
dependsOn:
|
||||
- name: openebs
|
||||
- name: openebs-sc
|
||||
- name: volsync
|
||||
postBuild:
|
||||
substituteFrom:
|
||||
- kind: ConfigMap
|
||||
name: cluster-settings
|
||||
- kind: Secret
|
||||
name: cluster-secrets
|
||||
substitute:
|
||||
APP: *app
|
||||
VOLSYNC_CAPACITY: 5Gi
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./fireflyiii
|
||||
- ./fireflyiii/ks.yaml
|
||||
- ./cdn
|
||||
- ./trilium
|
||||
- ./mealie
|
||||
|
|
Loading…
Reference in New Issue