[jboss-jira] [JBoss JIRA] (DROOLS-4951) Update docs about kjar, springboot, jdkhttp about id_user range

Massimiliano Dessi (Jira) issues at jboss.org
Fri Jan 17 09:12:47 EST 2020


    [ https://issues.redhat.com/browse/DROOLS-4951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951247#comment-13951247 ] 

Massimiliano Dessi commented on DROOLS-4951:
--------------------------------------------

Every project ask a specific range to use for a user 
Minishift:
"Error creating: pods "openshift-kie-springboot-545874cb7-" is forbidden: unable to validate against any security context constraint: [spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 1000: must be in the ranges: [1000170000, 1000179999]]"

Openshift 
 [spec.containers[0].securityContext.securityContext.runAsUser:
      Invalid value: 1000170000: must be in the ranges: [1000520000, 1000529999]]'

the only way to find a correct value before is with *oc describe*:

oc describe project test-9946
Name:			test-9946
Created:		8 minutes ago
Labels:			<none>
Annotations:		openshift.io/description=
			openshift.io/display-name=
			openshift.io/requester=kube:admin
			openshift.io/sa.scc.mcs=s0:c24,c9
			openshift.io/sa.scc.supplemental-groups=1000570000/10000
			openshift.io/sa.scc.uid-range=1000570000/10000
Display Name:		<none>
Description:		<none>
Status:			Active
Node Selector:		<none>
Quota:			<none>
Resource limits:	<none>

with these values the user must change accordingly the value in the Dockerfile and in the deployment.yaml

> Update docs about kjar, springboot, jdkhttp about id_user range 
> ----------------------------------------------------------------
>
>                 Key: DROOLS-4951
>                 URL: https://issues.redhat.com/browse/DROOLS-4951
>             Project: Drools
>          Issue Type: Enhancement
>            Reporter: Massimiliano Dessi
>            Assignee: Massimiliano Dessi
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list