[JIRA] (JENKINS-60030) runAsUser on podTemplate not working

10 views
Skip to first unread message

guthrie@squareup.com (JIRA)

unread,
Nov 3, 2019, 6:16:02 PM11/3/19
to jenkinsc...@googlegroups.com
Adam Guthrie created an issue
 
Jenkins / Bug JENKINS-60030
runAsUser on podTemplate not working
Issue Type: Bug Bug
Assignee: Unassigned
Components: kubernetes-plugin
Created: 2019-11-03 23:15
Environment: kubernetes-plugin=1.20.2, jenkins=2.190.1
Priority: Minor Minor
Reporter: Adam Guthrie

I'm seeing the following error when trying to specify runAsUser on a podTemplate:

podTemplate(
            label: podLabel,
            containers: containers,
            volumes: volumes,
            idleMinutes: idleMinutes,
            runAsUser: 928 

error:

09:48:24  [Pipeline] podTemplate
09:48:24  WARNING: Unknown parameter(s) found for class type 'org.csanchez.jenkins.plugins.kubernetes.pipeline.PodTemplateStep': runAsUser
 
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

vas.pothala@gmail.com (JIRA)

unread,
Nov 6, 2019, 7:32:03 PM11/6/19
to jenkinsc...@googlegroups.com
Sriniva Pothala commented on Bug JENKINS-60030
 
Re: runAsUser on podTemplate not working

This is happening for me too. 

Jenkins Version: 2.190.2

Kubernetes Plugin: 1.21.0

WARNING: Unknown parameter(s) found for class type 'org.csanchez.jenkins.plugins.kubernetes.pipeline.PodTemplateStep': runAsGroup,runAsUser 

vincent@latombe.net (JIRA)

unread,
Jan 24, 2020, 10:48:03 AM1/24/20
to jenkinsc...@googlegroups.com
Vincent Latombe closed an issue as Fixed
 

This was fixed in https://github.com/jenkinsci/kubernetes-plugin/pull/643

Change By: Vincent Latombe
Status: Open Closed
Resolution: Fixed
Released As: kubernetes-1.21.3

vincent@latombe.net (JIRA)

unread,
Jan 24, 2020, 10:49:03 AM1/24/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages