Commit 54fbbcc9 authored by gaoshiyao's avatar gaoshiyao

fix

parent f86694be
...@@ -90,10 +90,6 @@ spec: ...@@ -90,10 +90,6 @@ 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
......
...@@ -16,6 +16,12 @@ stringData: ...@@ -16,6 +16,12 @@ stringData:
region: {{ .Values.secret.region }} region: {{ .Values.secret.region }}
{{- end }} {{- end }}
{{- if .Values.secret.insecure }} {{- if .Values.secret.insecure }}
insecure: "true" insecure: "{{ .Values.secret.insecure }}"
{{- end }}
{{- if .Values.secret.usePathRequestStyle }}
usePathRequestStyle: "{{ .Values.secret.usePathRequestStyle }}"
{{- end }}
{{- if .Values.storageClass.path }}
path: {{ .Values.storageClass.path }}
{{- end }} {{- end }}
{{- end -}} {{- end -}}
\ No newline at end of file
...@@ -16,8 +16,6 @@ storageClass: ...@@ -16,8 +16,6 @@ storageClass:
singleBucket: "bd-wind" 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
...@@ -42,7 +40,9 @@ secret: ...@@ -42,7 +40,9 @@ secret:
# Region # Region
region: "" region: ""
# Insecure # Insecure
insecure: "false" insecure: false
# usePathRequestStyle
usePathRequestStyle: false
tolerations: tolerations:
all: false all: false
......
...@@ -14,8 +14,6 @@ storageClass: ...@@ -14,8 +14,6 @@ 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
...@@ -42,7 +40,9 @@ secret: ...@@ -42,7 +40,9 @@ secret:
# Region # Region
region: "" region: ""
# Insecure # Insecure
insecure: "false" insecure: false
# usePathRequestStyle
usePathRequestStyle: false
tolerations: tolerations:
all: false all: false
......
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