mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-23 00:54:26 +00:00
Add retain local path storage class
This commit is contained in:
4
infrastructure/base/storage-class/kustomization.yaml
Normal file
4
infrastructure/base/storage-class/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- storage-class.yaml
|
||||||
7
infrastructure/base/storage-class/storage-class.yaml
Normal file
7
infrastructure/base/storage-class/storage-class.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: retain-local-path
|
||||||
|
provisioner: rancher.io/local-path
|
||||||
|
reclaimPolicy: Retain
|
||||||
|
volumeBindingMode: WaitForFirstConsumer
|
||||||
7
infrastructure/prod/kustomization.yaml
Normal file
7
infrastructure/prod/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../base/storage-class
|
||||||
|
- cert-manager
|
||||||
|
- traefik
|
||||||
|
- authelia
|
||||||
Reference in New Issue
Block a user