fix nfs autodelete issue
This commit is contained in:
parent
388518ddf3
commit
40407ce7fb
@ -6,8 +6,7 @@ image:
|
|||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
livenessProbe:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
@ -152,6 +151,9 @@ resources:
|
|||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
enabled: true
|
||||||
|
# disable when upgrading from a previous chart version
|
||||||
|
|
||||||
## Enable pod autoscaling using HorizontalPodAutoscaler
|
## Enable pod autoscaling using HorizontalPodAutoscaler
|
||||||
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
|
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
|
||||||
|
@ -3,7 +3,6 @@ apiVersion: v1
|
|||||||
metadata:
|
metadata:
|
||||||
name: rss-claim
|
name: rss-claim
|
||||||
spec:
|
spec:
|
||||||
persistentVolumeReclaimPolicy: Retain
|
|
||||||
storageClassName: nfs-client
|
storageClassName: nfs-client
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
namespace: nfs-provisioner
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
bases:
|
kind: Kustomization
|
||||||
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy
|
|
||||||
|
|
||||||
|
namespace: nfs-provisioner
|
||||||
|
|
||||||
|
bases:
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
patchesStrategicMerge:
|
|
||||||
- nfs_values.yaml
|
patches:
|
||||||
|
- path: nfs_values.yaml
|
||||||
|
- path: storageclass_values.yaml
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# namespace.yaml
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: nfs-provisioner
|
name: placeholder
|
||||||
|
6
infrastructure/nfs/storageclass_values.yaml
Normal file
6
infrastructure/nfs/storageclass_values.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: nfs-client
|
||||||
|
parameters:
|
||||||
|
onDelete: "retain"
|
Loading…
x
Reference in New Issue
Block a user