Commit 3efc319f authored by root's avatar root

update

parent ed6bd29f
...@@ -136,7 +136,7 @@ spec: ...@@ -136,7 +136,7 @@ spec:
{{- if .Values.registry.storageSpec.hostPath }} {{- if .Values.registry.storageSpec.hostPath }}
- name: data - name: data
hostPath: hostPath:
path: /{{.Values.registry.storageSpec.hostPath.root | default "data" | quote}}/{{ .Release.Namespace }}/{{ .Release.Name }}/database path: {{.Values.registry.storageSpec.hostPath.root | default "/data" | quote}}/{{ .Release.Namespace }}/{{ .Release.Name }}/database
{{- else if .Values.registry.storageSpec.emptyDir }} {{- else if .Values.registry.storageSpec.emptyDir }}
- name: data - name: data
emptyDir: {} emptyDir: {}
......
...@@ -137,9 +137,9 @@ database: ...@@ -137,9 +137,9 @@ database:
nodeSelector: nodeSelector:
harbor: enabled harbor: enabled
storageSpec: storageSpec:
# 不用hostPath,则注释
hostPath:
root: /data root: /data
# 不用hostPath,则注释
hostPath: true
volumeClaimTemplate: volumeClaimTemplate:
spec: spec:
storageClassName: rook-ceph-block storageClassName: rook-ceph-block
......
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