Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consul/connect: implement initial support for connect native #8011

Merged
merged 7 commits into from
Jun 24, 2020

Commits on Jun 22, 2020

  1. consul/connect: add support for running connect native tasks

    This PR adds the capability of running Connect Native Tasks on Nomad,
    particularly when TLS and ACLs are enabled on Consul.
    
    The `connect` stanza now includes a `native` parameter, which can be
    set to the name of task that backs the Connect Native Consul service.
    
    There is a new Client configuration parameter for the `consul` stanza
    called `share_ssl`. Like `allow_unauthenticated` the default value is
    true, but recommended to be disabled in production environments. When
    enabled, the Nomad Client's Consul TLS information is shared with
    Connect Native tasks through the normal Consul environment variables.
    This does NOT include auth or token information.
    
    If Consul ACLs are enabled, Service Identity Tokens are automatically
    and injected into the Connect Native task through the CONSUL_HTTP_TOKEN
    environment variable.
    
    Any of the automatically set environment variables can be overridden by
    the Connect Native task using the `env` stanza.
    
    Fixes #6083
    shoenig committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    7e8d5c2 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

  1. Configuration menu
    Copy the full SHA
    520d35e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a87130c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    193e355 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2020

  1. Configuration menu
    Copy the full SHA
    3a1129c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd3ec2f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef52328 View commit details
    Browse the repository at this point in the history