fix(chart): missing resources on volume statefulset initContainer (#8678)
* fix(chart): missing resources on volume statefulset initContainer * chore(chart): use own resources for idx-vol-move initContainer * chore(chart): improve comment for idxMoveResources value
This commit is contained in:
@@ -86,6 +86,10 @@ spec:
|
|||||||
- name: {{ $dir.name }}
|
- name: {{ $dir.name }}
|
||||||
mountPath: /{{ $dir.name }}
|
mountPath: /{{ $dir.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with $volume.idxVolMoveResources }}
|
||||||
|
resources:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
{{- if $volume.containerSecurityContext.enabled }}
|
{{- if $volume.containerSecurityContext.enabled }}
|
||||||
securityContext: {{- omit $volume.containerSecurityContext "enabled" | toYaml | nindent 12 }}
|
securityContext: {{- omit $volume.containerSecurityContext "enabled" | toYaml | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -393,6 +393,12 @@ volume:
|
|||||||
|
|
||||||
idx: {}
|
idx: {}
|
||||||
|
|
||||||
|
# Resource requests, limits, etc. for the vol-move-idx initContainer. This
|
||||||
|
# should map directly to the value of the resources field for a PodSpec,
|
||||||
|
# formatted as a multi-line string. By default no direct resource request
|
||||||
|
# is made.
|
||||||
|
idxVolMoveResources: {}
|
||||||
|
|
||||||
logs: {}
|
logs: {}
|
||||||
|
|
||||||
# limit background compaction or copying speed in mega bytes per second
|
# limit background compaction or copying speed in mega bytes per second
|
||||||
|
|||||||
Reference in New Issue
Block a user