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

"File" field ignored in FileOnKubernetesMasterKubeconfigSource

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • kubernetes-cd-plugin
    • None
    • Jenkins: 2.182
      Kubernetes CD Plugin: 1.0.0

      When using the "From a file on the Kubernetes master node" option for retrieving the Kubernetes cluster config file, the "File" field is ignored and the plugin always attempts to access ~/.kube/config.

          [JENKINS-58262] "File" field ignored in FileOnKubernetesMasterKubeconfigSource

          Rik Harris added a comment -

          I have prepared a pull request which appears to fix the issue, although I'm not that familiar with the Jenkins code base or with Java for that matter.

          See https://github.com/jenkinsci/kubernetes-cd-plugin/pull/86

           

          Rik Harris added a comment - I have prepared a pull request which appears to fix the issue, although I'm not that familiar with the Jenkins code base or with Java for that matter. See https://github.com/jenkinsci/kubernetes-cd-plugin/pull/86  

          Jie Shen added a comment -

          Thanks kawaja, I will help you to merge the fix.

          Jie Shen added a comment - Thanks kawaja , I will help you to merge the fix.

            jieshe Jie Shen
            kawaja Rik Harris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: