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

Check for Invalid Names/Labels During Template Creation

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      A client reported that their employees were able to enter invalid names/labels during template creation which resulted in pods not starting. A suggestion to validate them on creation in order to avoid this issue.

          [JENKINS-51248] Check for Invalid Names/Labels During Template Creation

          Carlos Sanchez added a comment - https://github.com/jenkinsci/kubernetes-plugin/pull/332

          Jesse Glick added a comment -

          This validation introduced the constraint that PodTemplateStepExecution.label contain only a single value, rather than a label set. In this context (as opposed to KubernetesCloud configuration) that is probably fine, though it means that the GUI label Labels was misleading.

          Jesse Glick added a comment - This validation introduced the constraint that PodTemplateStepExecution.label contain only a single value, rather than a label set. In this context (as opposed to KubernetesCloud configuration) that is probably fine, though it means that the GUI label Labels was misleading.

            seakip18 Matthew Ludlum
            ercanales Enrique Canales
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: