Commit f86694be authored by gaoshiyao's avatar gaoshiyao

添加prefix

parent 0e3bc931
...@@ -90,6 +90,10 @@ spec: ...@@ -90,6 +90,10 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
{{- if .Values.storageClass.path }}
- name: PREFIX_PATH
value: {{ .Values.storageClass.path }}
{{- end }}
volumeMounts: volumeMounts:
- name: plugin-dir - name: plugin-dir
mountPath: /csi mountPath: /csi
......
...@@ -13,9 +13,11 @@ storageClass: ...@@ -13,9 +13,11 @@ storageClass:
# Name # Name
name: csi-s3 name: csi-s3
# Use a single bucket for all dynamically provisioned persistent volumes # 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 to use - either geesefs, s3fs or rclone (default geesefs)
mounter: geesefs mounter: geesefs
# 前置路径
path: "pvc"
# GeeseFS mount options # GeeseFS mount options
mountOptions: "--memory-limit 1000 --dir-mode 0777 --file-mode 0666" mountOptions: "--memory-limit 1000 --dir-mode 0777 --file-mode 0666"
# Volume reclaim policy # Volume reclaim policy
......
...@@ -14,6 +14,8 @@ storageClass: ...@@ -14,6 +14,8 @@ storageClass:
name: csi-s3 name: csi-s3
# Use a single bucket for all dynamically provisioned persistent volumes # Use a single bucket for all dynamically provisioned persistent volumes
singleBucket: "" singleBucket: ""
# 前置路径
path: ""
# mounter to use - either geesefs, s3fs or rclone (default geesefs) # mounter to use - either geesefs, s3fs or rclone (default geesefs)
mounter: geesefs mounter: geesefs
# GeeseFS mount options # 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