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

Kubernetes Pipeline Plugin's kubernetesApply fails to invalid service name

XMLWordPrintable

      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?

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

              Created:
              Updated:
              Resolved: