Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-3755

Allow user to set the dnsPolicy field

    XMLWordPrintable

Details

    • 0

    Description

      Currently it was discovered when using builders that the DNSPolicy field gets set to Default.  However in some cluster configurations (FIPS for example) that setting means DNS resolution from within the builder pod does not get set right and resolution lookup for git clone on a repository to be built will fail with "host not found".   This field needs to configurable so one can set it to ClusterFirst to ensure DNS resolution works.

      Acceptance Criteria:

      • Adding the field `DNS_POLICY: ClusterFirst` to the executor configuration creates a job object with the `dnsPolicy` field set to `ClusterFirst`
      • Omitting `DNS_POLICY` defaults the `dnsPolicy` field on the job object to `Default`

      Attachments

        Activity

          People

            bcaton@redhat.com Brandon Caton
            rh-ee-bschmaus Ben Schmaus
            Weihua Hu Weihua Hu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: