Kubernetes plugin fails to read kubecfg from yaml

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Blocker
    • Component/s: kubernetes-plugin
    • None
    • Environment:
      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.

            Assignee:
            Vincent Latombe
            Reporter:
            Georg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: