ceph: add empty dirs for /var/lib/rook and /etc/ceph
Adds volumes and mounts for /var/lib/rook and /etc/ceph to the operator deployment in the Helm chart. This is consistent with the example operator manifest and is sometimes even required on clusters with stricter permissions on the local filesystem. Signed-off-by: Dominik Münch <d.muench@celonis.com>
This commit is contained in:
1 parent
88adffb3b2
commit
c980dc2d4d
1 file changed
+10
@@ -26,6 +26,11 @@ spec:
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
args: ["ceph", "operator"]
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/rook
|
||||
name: rook-config
|
||||
- mountPath: /etc/ceph
|
||||
name: default-config-dir
|
||||
env:
|
||||
- name: ROOK_CURRENT_NAMESPACE_ONLY
|
||||
value: {{ .Values.currentNamespaceOnly | quote }}
|
||||
@@ -340,3 +345,8 @@ spec:
|
||||
{{- if .Values.rbacEnable }}
|
||||
serviceAccountName: rook-ceph-system
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: rook-config
|
||||
emptyDir: {}
|
||||
- name: default-config-dir
|
||||
emptyDir: {}
|
||||
Reference in new issue
Block a user