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

Restricted cloud doesn't work if cloud name contains a dot.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • kubernetes-plugin
    • None
    • jenkins 2.245
      kubernetes-plugin 1.26.4

      It seems it is currently possible to add clouds with invalid names.

       

      We had a restricted cloud configured with the name `mydomain.com environment` that saved properly and didn't report any issues on testing the connection.

      However when trying to enable the restricted cloud on a folder it would save the change without complaints but it checking the config again it would still not be selected. No logs are written anywhere and after a lot of debugging I traced it to the cloud name. changing it to `mydomain-com-environment` worked in the end.

            Unassigned Unassigned
            afriemann Aljosha Friemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: