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

Kubernetes plugin fails to read kubecfg from yaml

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • kubernetes-plugin
    • None
    • jenkins 2.375.2
      kubernetes 3802.vb_b_600831fcb_3

      The Kubernetes plugin fails to read the cluster configuration from the kubecfg yaml file provided as Jenkins secret through JCasC.

      manage/configureClouds -> Kubernetes clud details -> test connection fails with

      {{Error testing connection : com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException: special characters are not allowed
      at [Source: (StringReader); line: 1, column: 1]}}

      Jenkins log is full of similar messages, stating that there is a 0x7 in the yaml .... I can't hear any bells though ;-P

      The combination of Jenkins 2.375.1 and Kubernetes plugin 3734.v562b_b_a_627ea_c works fine with the same config file.

          [JENKINS-70436] Kubernetes plugin fails to read kubecfg from yaml

          Georg created issue -
          Vincent Latombe made changes -
          Link New: This issue duplicates JENKINS-70416 [ JENKINS-70416 ]
          Vincent Latombe made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Georg made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Georg made changes -
          Assignee New: Vincent Latombe [ vlatombe ]

            vlatombe Vincent Latombe
            georg_salentinig Georg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: