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

Kubernetes Pipeline Plugin's kubernetesApply fails to invalid service name

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      As per the kubernetes service spec, service name should be less than 64 characters and restricted to certain characters.

      In openshift.io we are facing an issue where Jenkins job gets fail if the service name is invalid. In this case, service spec is generated on the go and maven projects artifacts id is used as the service name. We have very less scope for validation on the gate.

      As part of the fix, we want to patch service name through pipeline step if it has invalid characters. This patching could be enabled or disabled by ENV var(by default its disabled).

      Is this solution acceptable?

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            iocanel Ioannis Canellos
            Reporter:
            hriships Hrishikesh Shinde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: