chore: move mealie to volsync PVCs

This commit is contained in:
SeanOMik 2024-10-17 15:50:12 -04:00
parent a8392da2a2
commit 13e687361e
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
5 changed files with 35 additions and 3 deletions

View File

@ -4,7 +4,7 @@ resources:
- ./fireflyiii/ks.yaml
- ./cdn
- ./trilium
- ./mealie
- ./mealie/ks.yaml
- ./huginn
- ../../../common/apps/exim/ks.yaml
- ./well-known-site

View File

@ -92,7 +92,6 @@ spec:
persistence:
data:
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/Mealie
existingClaim: mealie
globalMounts:
- path: /app/data

View File

@ -1,5 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../../../common/templates/volsync
- ./env-secret.sops.yaml
- ./helm-release.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 mealie
namespace: flux-system
spec:
timeout: 5m
interval: 10m
targetNamespace: default
path: ./kubernetes/main/apps/default/mealie/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