Skip to content

Commit

Permalink
fix(jiva-cleanup): allow cleanup jobs to run as previleged mode (#1600)
Browse files Browse the repository at this point in the history
This commit fix the issue where scrub jobs were failing on openshift platform
or where non privileged pods are not allowed to access/modify hostpath.

Signed-off-by: Utkarsh Mani Tripathi <[email protected]>
  • Loading branch information
Utkarsh Mani Tripathi authored Feb 5, 2020
1 parent a9af0a6 commit f254dde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/install/v1alpha1/jiva_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,8 @@ spec:
type: ""
containers:
- name: sjr
securityContext:
privileged: true
image: {{ .Config.ScrubImage.value }}
command:
- sh
Expand Down

0 comments on commit f254dde

Please sign in to comment.