chore: move fireflyiii to volsync PVCs

This commit is contained in:
SeanOMik 2024-10-17 15:27:32 -04:00
parent a72cb94dd6
commit a8392da2a2
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
6 changed files with 36 additions and 4 deletions

View File

@ -60,8 +60,7 @@ spec:
port: http port: http
persistence: persistence:
firefly-uploads: uploads:
type: hostPath existingClaim: fireflyiii
hostPath: /mnt/MainPool/Kubernetes/fireflyiii-uploads
globalMounts: globalMounts:
- path: /var/www/html/storage/upload - path: /var/www/html/storage/upload

View File

@ -1,6 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ../../../../../common/templates/volsync
- ./env-secret.sops.yaml - ./env-secret.sops.yaml
- ./helm-release.yaml - ./helm-release.yaml
- ./daily-cronjob.yaml - ./daily-cronjob.yaml

View File

@ -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

View File

@ -1,7 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./fireflyiii - ./fireflyiii/ks.yaml
- ./cdn - ./cdn
- ./trilium - ./trilium
- ./mealie - ./mealie