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

KubernetesApply step fails for invalid service name

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      KubernetesApply step fails if the service name is invalid. As per service spec, service name should have 63 char max and has restricted to certain characters.
      In openshift.io, the service name is auto-generated using maven project artifact id and there is no/very less scope to validate the artifacts id/service name upfront if change artifacts id in GH commit.

      One solution is to patch the service name on the go in the pipeline using kububernetesApply step. This patching can be enabled or disabled using ENV var. (by default it's disabled).

      Is it an acceptable solution?

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              Created:
              Updated:
              Resolved: