Commit f86694be authored by gaoshiyao's avatar gaoshiyao

添加prefix

parent 0e3bc931
......@@ -90,6 +90,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
{{- if .Values.storageClass.path }}
- name: PREFIX_PATH
value: {{ .Values.storageClass.path }}
{{- end }}
volumeMounts:
- name: plugin-dir
mountPath: /csi
......
......@@ -13,9 +13,11 @@ storageClass:
# Name
name: csi-s3
# Use a single bucket for all dynamically provisioned persistent volumes
singleBucket: ""
singleBucket: "bd-wind"
# mounter to use - either geesefs, s3fs or rclone (default geesefs)
mounter: geesefs
# 前置路径
path: "pvc"
# GeeseFS mount options
mountOptions: "--memory-limit 1000 --dir-mode 0777 --file-mode 0666"
# Volume reclaim policy
......
......@@ -14,6 +14,8 @@ storageClass:
name: csi-s3
# Use a single bucket for all dynamically provisioned persistent volumes
singleBucket: ""
# 前置路径
path: ""
# mounter to use - either geesefs, s3fs or rclone (default geesefs)
mounter: geesefs
# GeeseFS mount options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment