feat(k8s/infrastructure): add local-path-provisioner for node-local SQLite storage

This commit is contained in:
2026-03-10 20:49:59 +02:00
parent 1dac3e8eb1
commit c5d9ed1e6b
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: local-path-storage
labels:
pod-security.kubernetes.io/enforce: privileged

View File

@@ -0,0 +1,26 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: local-path-provisioner
namespace: flux-system
spec:
chart:
spec:
chart: local-path-provisioner
version: 0.0.36
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: local-path-provisioner
namespace: flux-system
interval: 1m0s
targetNamespace: local-path-storage
values:
storageClass:
name: local-path
defaultClass: false
nodePathMap:
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
paths:
- /var/local-path-provisioner

View File

@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: local-path-provisioner
namespace: flux-system
spec:
interval: 1m0s
url: https://charts.containeroo.ch