diff --git a/deploy/helm/charts/Chart.yaml b/deploy/helm/charts/Chart.yaml index 8d225483..2e632282 100644 --- a/deploy/helm/charts/Chart.yaml +++ b/deploy/helm/charts/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: lvm-localpv description: CSI Driver for dynamic provisioning of LVM Persistent Local Volumes. -version: 1.4.0 +version: 1.4.1 appVersion: 1.4.0 icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png home: https://openebs.io/ diff --git a/deploy/helm/charts/templates/lvm-node.yaml b/deploy/helm/charts/templates/lvm-node.yaml index 13e6b191..23071ec9 100644 --- a/deploy/helm/charts/templates/lvm-node.yaml +++ b/deploy/helm/charts/templates/lvm-node.yaml @@ -30,7 +30,7 @@ spec: priorityClassName: {{ template "lvmlocalpv.lvmNode.priorityClassName" . }} {{- end }} serviceAccountName: {{ .Values.serviceAccount.lvmNode.name }} - hostNetwork: true + hostNetwork: {{ .Values.lvmNode.hostNetwork }} containers: - name: {{ .Values.lvmNode.driverRegistrar.name }} image: "{{ .Values.lvmNode.driverRegistrar.image.registry }}{{ .Values.lvmNode.driverRegistrar.image.repository }}:{{ .Values.lvmNode.driverRegistrar.image.tag }}" diff --git a/deploy/helm/charts/templates/psp.yaml b/deploy/helm/charts/templates/psp.yaml index 7472d7c6..fbe2c598 100644 --- a/deploy/helm/charts/templates/psp.yaml +++ b/deploy/helm/charts/templates/psp.yaml @@ -10,7 +10,7 @@ spec: allowPrivilegeEscalation: true allowedCapabilities: ['*'] volumes: ['*'] - hostNetwork: true + hostNetwork: {{ .Values.lvmNode.hostNetwork}} hostIPC: true hostPID: true runAsUser: diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index ea2be28d..d3cfe3a8 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -61,6 +61,8 @@ lvmNode: # Configure the maximum number of queries allowed after # accounting for rolled over qps from previous seconds. burst: 0 + # Disable or enable the use of hostNetwork for the lvm node daemonset. + hostNetwork: false # lvmController contains the configurables for diff --git a/deploy/lvm-operator.yaml b/deploy/lvm-operator.yaml index ed3012f1..fadc4158 100644 --- a/deploy/lvm-operator.yaml +++ b/deploy/lvm-operator.yaml @@ -1633,7 +1633,6 @@ spec: spec: priorityClassName: openebs-lvm-localpv-csi-node-critical serviceAccountName: openebs-lvm-node-sa - hostNetwork: true containers: - name: csi-node-driver-registrar image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 diff --git a/deploy/yamls/lvm-driver.yaml b/deploy/yamls/lvm-driver.yaml index 96e817b5..e54398af 100644 --- a/deploy/yamls/lvm-driver.yaml +++ b/deploy/yamls/lvm-driver.yaml @@ -1197,7 +1197,6 @@ spec: spec: priorityClassName: openebs-lvm-localpv-csi-node-critical serviceAccountName: openebs-lvm-node-sa - hostNetwork: true containers: - name: csi-node-driver-registrar image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0