-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
With the following pod template configuration & as specified in the documentation I would expect the pod to be created in specified namespace. but it does not honor the namespace
podTemplate(label: 'builder-pod', containers: [
containerTemplate( name: 'jnlp',
image: "${artifact_repo}/jenkins-slave",
ttyEnabled: true
)
], volumes: [hostPathVolume(mountPath: '/var/run', hostPath: '/var/run')],
namespace: 'jenkins') { //podtemplate
node('builder-pod') {
container('jnlp')
}
}
the builder-pod is getting created in the default namespace instead of jenkins namespace