Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
manifests: Use user namespace for the operator
The operator now uses hostUsers: false in the associated deployment.
All relevant user and group IDs are set to 1000.
  • Loading branch information
tchap committed Nov 4, 2025
commit bbaad7455946de9d1c149ef6c5f1d196f46e1e6d
4 changes: 2 additions & 2 deletions manifests/09_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ spec:
name: openshift-controller-manager-operator
annotations:
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
openshift.io/required-scc: nonroot-v2
openshift.io/required-scc: restricted-v3
labels:
app: openshift-controller-manager-operator
spec:
hostUsers: false
securityContext:
runAsNonRoot: true
runAsUser: 65534
Copy link
Contributor Author

@tchap tchap Nov 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now set automatically by restricted-v3 to 1000.

seccompProfile:
type: RuntimeDefault
serviceAccountName: openshift-controller-manager-operator
Expand Down