Commit 4685b1bd authored by gaoshiyao's avatar gaoshiyao

update

parent 8824b4f5
...@@ -9,9 +9,12 @@ configInfo: ...@@ -9,9 +9,12 @@ configInfo:
value: ["latest"] value: ["latest"]
- name: storageSpec.volumeClaimTemplate.spec.storageClassName - name: storageSpec.volumeClaimTemplate.spec.storageClassName
text: 存储类 text: 存储类
type: radio type: storage
value: ["rook-ceph-block"] value: ["rook-ceph-block"]
- name: storageSpec.volumeClaimTemplate.spec.resources.requests.storage storage: "4Gi"
text: 存储容量 hostpath: "/data/path"
type: text - name: storageSpec.volumeClaimTemplate.spec.resources
value: "5Gi" text: 资源限制
\ No newline at end of file type: resource
memory: "5Gi"
cpu: "1000m"
\ No newline at end of file
...@@ -58,7 +58,13 @@ spec: ...@@ -58,7 +58,13 @@ spec:
{{- if .Values.storageSpec.hostPath }} {{- if .Values.storageSpec.hostPath }}
- name: data - name: data
hostPath: hostPath:
{{ toYaml $.Values.storageSpec.hostPath | indent 10 }} path: /data/{{ .Release.Namespace }}/{{ .Release.Name }}/oracle11g
{{- else if .Values.storageSpec.emptyDir }}
- name: data
emptyDir: {}
{{- end }}
{{- if .Values.storageSpec.hostPath }}
{{- else if .Values.storageSpec.emptyDir }}
{{- else if .Values.storageSpec.volumeClaimTemplate }} {{- else if .Values.storageSpec.volumeClaimTemplate }}
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
...@@ -68,7 +74,4 @@ spec: ...@@ -68,7 +74,4 @@ spec:
app: {{ .Release.Name }} app: {{ .Release.Name }}
spec: spec:
{{ toYaml $.Values.storageSpec.volumeClaimTemplate.spec | indent 6 }} {{ toYaml $.Values.storageSpec.volumeClaimTemplate.spec | indent 6 }}
{{- else }}
- name: data
emptyDir: {}
{{- end }} {{- end }}
\ No newline at end of file
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