Skip to content

Commit

Permalink
Add privileged on the controller to let access CDROM
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
  • Loading branch information
pierre-emmanuelJ committed Jun 14, 2024
1 parent 2da81d3 commit 0205092
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
12 changes: 3 additions & 9 deletions deployment/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,12 @@ spec:
- "--v=4"
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sockx
envFrom:
- secretRef:
name: exoscale-credentials
securityContext:
privileged: true
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand Down
8 changes: 0 additions & 8 deletions deployment/node-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ spec:
env:
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
securityContext:
privileged: true
ports:
Expand Down

0 comments on commit 0205092

Please sign in to comment.