Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46399

podTemplate.imagePullSecrets is not being set on kubernetes pod

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • kubernetes-plugin
    • None

      Hi,

      Setting pod template imagePullSecrets is not being reflected at the create k8s pod.

      podTemplate(name: 'ms-build', label: 'ms-build', namespace: 'jenkins', nodeSelector: 'kubernetes.io/hostname: dto1325', imagePullSecrets: [ 'registry-ilutdto353' ], containers: [
      containerTemplate(name: 'ms-docker-build', image: 'ilutdto353.corp.amdocs.com/microservices-cicd-poc/ms-docker-build:35', ttyEnabled: true, command: 'cat',

            csanchez Carlos Sanchez
            khalilj Khalil Jiries
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: