Files
the-other-dude/infrastructure/helm/templates/pvc-firmware-cache.yaml
Jason Staack 321ce548ea feat(helm): add standalone PVC templates for git-store, firmware-cache, wireguard
Three PVCs with configurable size and storageClass. Wireguard PVC is
conditional on wireguard.enabled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:41:48 -05:00

16 lines
432 B
YAML

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "tod.fullname" . }}-firmware-cache
labels:
{{- include "tod.labels" . | nindent 4 }}
spec:
accessModes:
- ReadWriteOnce
{{- if .Values.storage.firmwareCache.storageClass }}
storageClassName: {{ .Values.storage.firmwareCache.storageClass | quote }}
{{- end }}
resources:
requests:
storage: {{ .Values.storage.firmwareCache.size }}