---
# System prepended metadata

title: Untitled

---


Earlier discussion : https://github.com/rook/rook/issues/7203#issuecomment-789795095 
To capture a separate discussion:

1. The default will be to disable host networking for the csi driver as it is no longer necessary, starting in Rook v1.6.
1. Upgraded clusters will still default to host networking enabled in the csi driver, just to ensure no surprises
1. Example manifests will set host networking to be disabled by default in the csi driver
1. A setting will be available in the rook-ceph-operator-config configmap that allows enabling/disabling host networking on the csi driver

### Points 1 and 2 can only be satisfied by alternative 3
---



https://github.com/rook/rook/pull/7356#discussion_r594299083

Currently implements alternative 1. 

1.  Default value of hostnetwork=true 
>No config                   - > enable 
>During upgrade no config ->  hostnetwork defaults to true 

2.  Default value of hostnetwork= false
>No config                   - > disable
>Before  upgrade, CSI_ENABLE_HOST_NETWORK config needs to be added to enable hostnetwork 

3.  Alternate 3 way condition (default needs to be set to empty string and handled accordingly)
>No config                   - > enable 

Following works as expected for all above 
>CSI_ENABLE_HOST_NETWORK =false - > disable
>CSI_ENABLE_HOST_NETWORK =true  - > enable


