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

Enhance kubernetes plugin to add initContainers

      We want to run set of instructions in init container to decide whether pod supposed to be scheduled or not in Kubernetes. 

      There is no option to add initContainers in templates.

       

          [JENKINS-62665] Enhance kubernetes plugin to add initContainers

          You can use the yaml syntax to do this.

          Vincent Latombe added a comment - You can use the yaml syntax to do this.

          vlatombe That is fair enough but it doesn't work in case of templates inheritance. (a.k.a. Yaml merge strategy = merge)

          Igor Lakhtenkov added a comment - vlatombe  That is fair enough but it doesn't work in case of templates inheritance. (a.k.a. Yaml merge strategy = merge)

          Elric added a comment -

          This would still be a useful feature, even if you can use the YAML syntax.

          Elric added a comment - This would still be a useful feature, even if you can use the YAML syntax.

            Unassigned Unassigned
            yaswanthmenni Yaswanth Menni
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: