Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-3090

Support passing annotations and labels to build pods from a BuildConfig

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Developer Experience
    • False
    • None
    • False
    • Not Selected
    • 0
    • 0% 0%

    Description

      1. Proposed title of this feature request

      Passing Annotations and Labels to Builds Pods from a BuildConfig

      2. What is the nature and description of the request?

      Customers would like to be able to to pass annotations to a build pod to take advantage of features such as attaching a pod to an additional network.

      https://docs.openshift.com/container-platform/4.10/networking/multiple_networks/attaching-pod.html

      Similarly, passing labels for CNI plugin that supports Egress https://cloud.redhat.com/blog/guide-to-kubernetes-egress-network-policies - there is no way to add labels to a build pods to target a network policy to them to allow egress to websites like github.

      3. Why does the customer need this? (List the business requirements here)

      Customer has private and restricted repositories that are needed at build time. These repos are not accessible via the default network and they want to be able to add a secondary network to preform their builds within OpenShift. Additionally, egress is be restricted and polices need to be applied to build pods to allow access.

      4. List any affected packages or components.

      BuildConfigs

      Attachments

        Activity

          People

            amobrem Ali Mobrem
            rhn-support-mrobson Matt Robson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: