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

Add full support for valueFrom syntax

    Details

    • Similar Issues:

      Description

      It would be great to be able to use the Kubernetes environment valueFrom syntax (https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/) in the containerTemplate DSL used to customise pods created by the plugin.

       

      The use case for this is to enable processes running within the slave to read values exposable via the Kubernetes "Downward API".

        Attachments

          Issue Links

            Activity

            Hide
            hardbone12 Chengyi Zhao added a comment -

            +1

            we also need this feature

            Show
            hardbone12 Chengyi Zhao added a comment - +1 we also need this feature
            Show
            csanchez Carlos Sanchez added a comment - Handled in https://github.com/jenkinsci/kubernetes-plugin/pull/275
            Hide
            csanchez Carlos Sanchez added a comment -

            JENKINS-50282 has been merged, it should be possible using the new yaml option to define pod templates
            please give it a try

            Show
            csanchez Carlos Sanchez added a comment - JENKINS-50282 has been merged, it should be possible using the new yaml option to define pod templates please give it a try

              People

              • Assignee:
                csanchez Carlos Sanchez
                Reporter:
                jim_minter Jim Minter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: