Skip to content

Commit

Permalink
Merge pull request #58 from s-urbaniak/bz-1962687
Browse files Browse the repository at this point in the history
Bug 1962687: manifests,assets: set runAsUser to not run as root
  • Loading branch information
openshift-merge-robot committed May 25, 2021
2 parents c17d581 + c47c127 commit 148ab2a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindata/kube-storage-version-migrator/deployment.yaml
Expand Up @@ -30,6 +30,8 @@ spec:
requests:
cpu: 10m
memory: 200Mi
securityContext:
runAsUser: 1001
priorityClassName: system-cluster-critical
tolerations:
- key: node-role.kubernetes.io/master
Expand Down
Expand Up @@ -48,6 +48,8 @@ spec:
requests:
cpu: 10m
memory: 50Mi
securityContext:
runAsUser: 1001
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /var/run/configmaps/config
Expand Down
Expand Up @@ -38,6 +38,8 @@ spec:
requests:
memory: 50Mi
cpu: 10m
securityContext:
runAsUser: 1001
volumeMounts:
- mountPath: /var/run/configmaps/config
name: config
Expand Down
2 changes: 2 additions & 0 deletions pkg/operator/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 148ab2a

Please sign in to comment.