This project is mirrored from https://gitee.com/mirrors/nomad.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 17 May, 2021 9 commits
    • Seth Hoenig's avatar
      docs: minor wording tweaks + cl · 845a3d3c
      Seth Hoenig authored
      845a3d3c
    • Seth Hoenig's avatar
      drivers/exec: pass capabilities through executor RPC · 595cef81
      Seth Hoenig authored
      Add capabilities to the LaunchRequest proto so that the
      capabilities set actually gets plumbed all the way through
      to task launch.
      595cef81
    • Seth Hoenig's avatar
      deps: update go mod tidy · 683751dd
      Seth Hoenig authored
      Looks like we no longer need a package.
      683751dd
    • Seth Hoenig's avatar
      drivers: fixup linux version dependent test cases · 17ec5a5a
      Seth Hoenig authored
      The error output being checked depends on the linux caps supported
      by the particular operating system. Fix these test cases to just
      check that an error did occur.
      17ec5a5a
    • Seth Hoenig's avatar
      docs: update docs for linux capabilities in exec/java/docker drivers · 7245ac3f
      Seth Hoenig authored
      Update docs for allow_caps, cap_add, cap_drop in exec/java/docker driver
      pages. Also update upgrade guide with guidance on new default linux
      capabilities for exec and java drivers.
      7245ac3f
    • Seth Hoenig's avatar
      drivers/docker: reuse capabilities plumbing in docker driver · c34beb48
      Seth Hoenig authored
      This changeset does not introduce any functional change for the
      docker driver, but rather cleans up the implementation around
      computing configured capabilities by re-using code written for
      the exec/java task drivers.
      c34beb48
    • Seth Hoenig's avatar
      drivers/java: enable setting allow_caps on java driver · 9bb4b8fa
      Seth Hoenig authored
      Enable setting allow_caps on the java task driver plugin, along
      with the associated cap_add and cap_drop options in java task
      configuration.
      9bb4b8fa
    • Seth Hoenig's avatar
      drivers/exec: enable setting allow_caps on exec driver · 191144c3
      Seth Hoenig authored
      This PR enables setting allow_caps on the exec driver
      plugin configuration, as well as cap_add and cap_drop in
      exec task configuration. These options replicate the
      functionality already present in the docker task driver.
      
      Important: this change also reduces the default set of
      capabilities enabled by the exec driver to match the
      default set enabled by the docker driver. Until v1.0.5
      the exec task driver would enable all capabilities supported
      by the operating system. v1.0.5 removed NET_RAW from that
      list of default capabilities, but left may others which
      could potentially also be leveraged by compromised tasks.
      
      Important: the "root" user is still special cased when
      used with the exec driver. Older versions of Nomad enabled
      enabled all capabilities supported by the operating system
      for tasks set with the root user. To maintain compatibility
      with existing clusters we continue supporting this "feature",
      however we maintain support for the legacy set of c...
      191144c3
    • Tim Gross's avatar
      fix missing changelog entries from backports · 78c3a472
      Tim Gross authored
      78c3a472
  2. 14 May, 2021 3 commits
  3. 13 May, 2021 9 commits
  4. 12 May, 2021 8 commits
  5. 11 May, 2021 1 commit
  6. 10 May, 2021 5 commits
  7. 07 May, 2021 5 commits