ceph: Allow to run rook operator on host network

There is use case when need to run rook operator on host network since
  ceph mon is not accessible from kubernetes pod network.

Signed-off-by: ruslanloman <ruslanloman@gmail.com>
This commit is contained in:
ruslanloman authored and Ruslan Usichenko committed 2019-12-05 13:25:08 +02:00
1 parent cdacb4d763
commit 59e17dcdf5
3 files changed
+8

No files matched your search

@@ -210,6 +210,9 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.useOperatorHostNetwork }}
hostNetwork: true
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
+3
View File
@@ -88,6 +88,9 @@ csi:
enableFlexDriver: false
enableDiscoveryDaemon: true
## if true, run rook operator on the host network
# useOperatorHostNetwork: true
## Rook Agent configuration
## toleration: NoSchedule, PreferNoSchedule or NoExecute
## tolerationKey: Set this to the specific key of the taint to tolerate
@@ -244,6 +244,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
# Uncomment it to run rook operator on the host network
#hostNetwork: true
volumes:
- name: rook-config
emptyDir: {}