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

DNS Search Domains not honored in Amazon ECS Plugin

    XMLWordPrintable

Details

    Description

      It appears that the ECSService.java does not implement .withDnsSearchDomains() in the ContainerDefinition() for the AWS SDK.

       
      finalContainerDefinitiondef=newContainerDefinition()
      .withName(familyName)
      .withImage(template.getImage())
      .withEnvironment(template.getEnvironmentKeyValuePairs())
      .withExtraHosts(template.getExtraHostEntries())
      .withMountPoints(template.getMountPointEntries())
      .withCpu(template.getCpu())
      .withPrivileged(template.getPrivileged())
      .withDnsSearchDomains(template.getDnsSearchDomainEntries())
      .withEssential(true);
       
       
      It also appears that the return object in the ECSTaskTemplate.java returns a string instead of a List<String> which is required to pass multiple search domains.
       
      This appears to be in the 1.11 version of the plugin. Is there a new plugin or update to resolve this?

      Attachments

        Activity

          doneil326 danny oneil created issue -
          pgarbe Philipp Garbe made changes -
          Field Original Value New Value
          Assignee Jan Roehrich [ roehrijn2 ] Philipp Garbe [ pgarbe ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          pgarbe Philipp Garbe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            pgarbe Philipp Garbe
            doneil326 danny oneil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: