| 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, privileged: false, alwaysPullImage: false, workingDir: '/var/jenkins_home', resourceRequestCpu: '1000m', resourceRequestMemory: '1Gi', resourceLimitMemory: '1.1Gi', ) ], 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 {{}} |