-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Milestone
Description
After creating a BackupConfiguration, all my deployments on OpenShift 3.11 get updated with "fsGroup: 65535". I think it is related to this merge request.
This breaks my deployments and the side car containers though, since the default group Id on OpenShift is 1000350000.
29s 1m 14 jira-software-8.15e71c7ff5dcb5e9 ReplicationController Warning FailedCreate replication-controller Error creating: pods "jira-software-8-" is forbidden: unable to validate against any security context constraint: [fsGroup: Invalid value: []int64{65535}: 65535 is not an allowed group]
2s 13m 9 jira-home-backup-1578260760.15e71bce7eb1a32f Job Warning FailedCreate job-controller Error creating: pods "jira-home-backup-1578260760-" is forbidden: unable to validate against any security context constraint: [fsGroup: Invalid value: []int64{65535}: 65535 is not an allowed group]
After adding the "restricted" security context to the serviceaccounts, the pods start up.
$ oc adm policy add-scc-to-user restricted -z jira-home-backup
$ oc adm policy add-scc-to-user restricted -z default
For obious reasons I don't want to give these serviceaccounts privileged rights though.
Is there are way to disable setting the fsGroup on the deployment configurations?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels