Skip to content

Releases: hashicorp/consul-ecs

v0.6.0

15 Mar 16:55
Compare
Choose a tag to compare

0.6.0 (Mar 15, 2023)

FEATURES

  • net-dial: Add new consul-ecs net-dial subcommand to support ECS health checks when nc
    is not available in the container image.
    [GH-135]
  • acl-controller: Add support for Consul 1.15.x.
    [GH-133]
  • mesh-init: Add proxy.publicListenerPort config option to set Envoy's public listener port.

BREAKING CHANGES

  • Remove consulLogin.extraLoginFields config option. The Consul Login API is used directly instead
    of the consul login CLI command for logging into the AWS IAM auth method. Add meta, region,
    stsEndpoint, and serverIdHeaderValue fields to the consulLogin config object.
    [GH-115]

v0.5.2

13 Dec 17:36
Compare
Choose a tag to compare

0.5.2 (December 13, 2022)

FEATURES

  • mesh-init: Add proxy.publicListenerPort config option to set Envoy's public listener port.

IMPROVEMENTS

  • Support Consul 1.13 and 1.14

v0.4.3

13 Dec 20:24
4daf23a
Compare
Choose a tag to compare

0.4.3 (December 13, 2022)

FEATURES

  • mesh-init: Add proxy.publicListenerPort config option to set Envoy's public listener port.

v0.5.1

28 Jul 17:49
Compare
Choose a tag to compare

0.5.1 (July 28, 2022)

BUG FIXES:

  • Fix the description of the anonymous token policy so that it exactly matches the description
    created by consul-k8s. This fixes a connectivity issue that occurs when consul-k8s and
    consul-ecs deployments are connected to the same Consul datacenter.
    [GH-114]

v0.5.0

21 Jun 16:10
Compare
Choose a tag to compare

0.5.0 (June 21, 2022)

BREAKING CHANGES

  • Update acl-controller to cleanup ACL tokens created from Consul's AWS IAM auth method. Remove
    -secret-name-prefix and -consul-client-secret-arn flags. The controller no longer creates ACL
    tokens. [GH-82]
  • A lower case service name is required by mesh-init and health-sync. When the service.name field
    is specified, it must be a valid name for a Consul service identity. Otherwise, if service.name is
    not specified, the lower-cased task family is used for the Consul service name.
    [GH-97]

FEATURES

  • Add -log-level flag to acl-controller, envoy-entrypoint, and app-entrypoint
    commands. Add logLevel field to config JSON for mesh-init and health-sync commands.
    [GH-67]
  • Support obtaining ACL tokens from Consul's AWS IAM auth method. This requires Consul 1.12.0+.
    mesh-init now does a consul login to obtain a token if consulLogin.enabled = true.
    health-sync does a consul logout during shutdown to destroy these tokens.
    Add consulHTTPAddr, consulCACertFile, and consulLogin fields to the config JSON.
    [GH-69]
    [GH-76]
    [GH-77]
  • Update acl-controller to configure Consul's AWS IAM auth method at startup.
    Add -iam-role-path flag to specify the path of IAM roles permitted to login.
    [GH-71]

IMPROVEMENTS

  • consul-ecs version now includes the git commit sha.
    [GH-85]

DEPRECATIONS

  • Only release Linux builds since this binary is only used in Linux containers.
    Windows, Darwin, FreeBSD, and Solaris builds are no longer published to releases.hashicorp.com.
    [GH-91]

BUG FIXES:

  • Fix issue in the acl-controller command where namespaces are not created in the correct
    partition when using Consul 1.12. [GH-72]
  • Fix note text for synced Consul health checks. [GH-80]
  • Fix issue where the acl-controller did not update the default namespace with the cross-namespace policy.
    [GH-104]
  • Fix token cleanup in the acl-controller when Consul Enterprise admin partitions are enabled.
    [GH-105]
  • The acl-controller configures the anonymous token with service:read and node:read
    permissions to support cross-dc or cross-partition traffic through mesh gateways.
    [GH-103]
    [GH-106]

v0.5.0-beta1

06 Jun 16:25
d097379
Compare
Choose a tag to compare
v0.5.0-beta1 Pre-release
Pre-release

0.5.0-beta1 (Jun 06, 2022)

BREAKING CHANGES

  • Update acl-controller to cleanup ACL tokens created from Consul's AWS IAM auth method. Remove
    -secret-name-prefix and -consul-client-secret-arn flags. The controller no longer creates ACL
    tokens. [GH-82]
  • A lower case service name is required by mesh-init and health-sync. When the service.name field
    is specified, it must be a valid name for a Consul service identity. Otherwise, if service.name is
    not specified, the lower-cased task family is used for the Consul service name.
    [GH-97]

FEATURES

  • Add -log-level flag to acl-controller, envoy-entrypoint, and app-entrypoint
    commands. Add logLevel field to config JSON for mesh-init and health-sync commands.
    [GH-67]
  • Support obtaining ACL tokens from Consul's AWS IAM auth method. This requires Consul 1.12.0+.
    mesh-init now does a consul login to obtain a token if consulLogin.enabled = true.
    health-sync does a consul logout during shutdown to destroy these tokens.
    Add consulHTTPAddr, consulCACertFile, and consulLogin fields to the config JSON.
    [GH-69]
    [GH-76]
    [GH-77]
  • Update acl-controller to configure Consul's AWS IAM auth method at startup.
    Add -iam-role-path flag to specify the path of IAM roles permitted to login.
    [GH-71]

IMPROVEMENTS

  • consul-ecs version now includes the git commit sha.
    [GH-85]

DEPRECATIONS

  • Only release Linux builds since this binary is only used in Linux containers.
    Windows, Darwin, FreeBSD, and Solaris builds are no longer published to releases.hashicorp.com.
    [GH-91]

BUG FIXES:

  • Fix issue in the acl-controller command where namespaces are not created in the correct
    partition when using Consul 1.12. [GH-72]
  • Fix note text for synced Consul health checks. [GH-80]

v0.4.1

08 Apr 16:05
Compare
Choose a tag to compare

0.4.1 (April 08, 2022)

This is a patch release that keeps the consul-ecs project in sync with the
terraform-aws-consul-ecs project.

v0.4.0

04 Apr 17:11
Compare
Choose a tag to compare

0.4.0 (April 04, 2022)

FEATURES

  • Add support for admin partitions and namespaces (Consul Enterprise).
    [GH-61]

v0.3.0

27 Jan 15:43
Compare
Choose a tag to compare

0.3.0 (January 27, 2022)

BREAKING CHANGES

  • mesh-init, health-sync: Switch to file-based config. All CLI flags and options are removed
    from the mesh-init and health-sync commands. Instead, use the CONSUL_ECS_CONFIG_JSON
    environment variable to pass JSON configuration which follows this schema.
    [GH-53]
    [GH-54]

FEATURES

  • Add a app-entrypoint subcommand which can be used to delay application
    shutdown after receing a TERM signal to support graceful shutdown in ECS.
    [GH-48]
  • Update github.com/hashicorp/consul/api package to v1.12.0 to support
    passing service registration fields for admin partitions and h2ping checks.
    [GH-59]

v0.2.0

16 Nov 16:21
Compare
Choose a tag to compare

0.2.0 (November 16, 2021)

BREAKING CHANGES

  • consul-ecs docker images no longer have the consul binary. The
    mesh-init subcommand still expects the consul binary on the
    $PATH. [GH-40]
  • mesh-init: The -envoy-bootstrap-file option is removed, and replaced with -envoy-bootstrap-dir.
    The Envoy bootstrap config file is written to envoy-bootstrap.json within that directory.
    [GH-42]

FEATURES

  • Add a health-sync subcommand to sync ECS health checks into Consul. [GH-33]
  • Add the -health-sync-containers flag to mesh-init. [GH-36]
  • Add -tags, -service-name and -meta flags to mesh-init. [GH-41]
  • Add the -service-name flag to health-sync. [GH-43]
  • The ACL controller now reads the Consul service name from the
    consul.hashicorp.com/service-name tag on the ECS task. If the tag
    does not exist, it uses the Task family as the Consul service name.
    [GH-44]
  • Add a envoy-entrypoint subcommand, which can be used as the entrypoint to the Envoy container running in ECS
    to support graceful shutdown. [GH-42]

BUG FIXES:

  • Fix bugs in which ACL tokens are not created or deleted in certain cases.
    [GH-45] [GH-46]

0.2.0-beta2 (September 30, 2021)

0.2.0-beta1 (September 16, 2021)

BREAKING CHANGES

  • Remove discover-servers command. Due to the many changes made for beta,
    upgrading is not supported. We recommend doing an uninstall and reinstall
    of the Terraform module. [GH-21]

FEATURES

  • Add a new command called acl-controller. The command will first
    create the token for the Consul client and then will start a controller
    to manage service tokens. [GH-22]

IMPROVEMENTS

  • AWS client discovers the current region, if unset, from ECS Task Metadata.
    [GH-20]