Skip to content

Commit

Permalink
feat(yaml): make csi-controller a deployment and disable hostNetwork
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih committed Mar 19, 2024
1 parent f3e9cd0 commit d54e551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions deploy/lvm-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ description: "This priority class should be used for the OpenEBS LVM localPV CSI

---

kind: StatefulSet
kind: Deployment
apiVersion: apps/v1
metadata:
name: openebs-lvm-controller
Expand All @@ -1389,7 +1389,6 @@ spec:
matchLabels:
app: openebs-lvm-controller
role: openebs-lvm
serviceName: "openebs-lvm"
replicas: 1
template:
metadata:
Expand Down Expand Up @@ -1633,7 +1632,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
Expand Down
4 changes: 1 addition & 3 deletions deploy/yamls/lvm-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ description: "This priority class should be used for the OpenEBS LVM localPV CSI

---

kind: StatefulSet
kind: Deployment
apiVersion: apps/v1
metadata:
name: openebs-lvm-controller
Expand All @@ -953,7 +953,6 @@ spec:
matchLabels:
app: openebs-lvm-controller
role: openebs-lvm
serviceName: "openebs-lvm"
replicas: 1
template:
metadata:
Expand Down Expand Up @@ -1197,7 +1196,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
Expand Down

0 comments on commit d54e551

Please sign in to comment.