-
Type:
Improvement
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: kubernetes-plugin
Hello.
Â
I can use scripted pipeline with imagepullsecrets and volumes like below,
but in declaritive pipeline, I can't use it.
Â
podTemplate( label: 'mypod', imagePullSecrets: [ 'regcred' ], containers: [ containerTemplate(name: 'test', image: '1.2.3.4/ubuntu_14.04_w_c', ttyEnabled: true, command: 'cat') ], volumes: [ hostPathVolume(mountPath: '/var/run/docker.sock', hostPath: '/var/run/docker.sock') ] ) { }