mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
VolSync Template
Flux Kustomization
This requires postBuild
configured on the Flux Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app plex
namespace: flux-system
spec:
# ...
postBuild:
substitute:
APP: *app
VOLSYNC_CAPACITY: 5Gi
and then call the template in your applications kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# ...
- ../../../../components/volsync
Required postBuild
vars:
APP
: The application nameVOLSYNC_CAPACITY
: The PVC size
Optional postBuild
vars:
- TBD