overrides: retain local path storage volumes

This commit is contained in:
xeruf 2024-02-08 10:57:49 +01:00
parent c6a169fa35
commit c40b14fffa
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: stackspin-local-path-provisioner-override
data:
values.yaml: |
storageClass:
reclaimPolicy: Retain

View File

@ -0,0 +1,8 @@
# https://github.com/rancher/local-path-provisioner?tab=readme-ov-file#storage-classes
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-path-retain
provisioner: cluster.local/local-path-provisioner
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer