Skip to content

Commit

Permalink
manifests: set required-scc for openshift workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
kramaranya committed Jul 30, 2024
1 parent ee40683 commit 6e53b7e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindata/manifests/daemon/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
openshift.io/component: network
annotations:
kubectl.kubernetes.io/default-container: sriov-network-config-daemon
openshift.io/required-scc: privileged
spec:
hostNetwork: true
hostPID: true
Expand Down
2 changes: 2 additions & 0 deletions bindata/manifests/operator-webhook/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
metadata:
labels:
app: operator-webhook
annotations:
openshift.io/required-scc: restricted-v2
spec:
securityContext:
runAsNonRoot: true
Expand Down
2 changes: 2 additions & 0 deletions bindata/manifests/webhook/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ spec:
component: network
type: infra
openshift.io/component: network
annotations:
openshift.io/required-scc: restricted-v2
spec:
securityContext:
runAsNonRoot: true
Expand Down
2 changes: 2 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
metadata:
labels:
control-plane: controller-manager
annotations:
openshift.io/required-scc: restricted-v2
spec:
securityContext:
runAsNonRoot: true
Expand Down

0 comments on commit 6e53b7e

Please sign in to comment.