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

DNS Search Domains not honored in Amazon ECS Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      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

          Show
          pgarbe Philipp Garbe added a comment - Fixed with https://github.com/jenkinsci/amazon-ecs-plugin/pull/42

            People

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

              Dates

              Created:
              Updated:
              Resolved: