Commit graph

6728 commits

Author SHA1 Message Date
James Phillips 459cc7bc6c Update CHANGELOG.md 2017-10-04 16:51:11 -07:00
Kyle Havlovitz be04bfed34 Clean up subprocess handling and make shell use optional (#3509)
* Clean up handling of subprocesses and make using a shell optional

* Update docs for subprocess changes

* Fix tests for new subprocess behavior

* More cleanup of subprocesses

* Minor adjustments and cleanup for subprocess logic

* Makes the watch handler reload test use the new path.

* Adds check tests for new args path, and updates existing tests to use new path.

* Adds support for script args in Docker checks.

* Fixes the sanitize unit test.

* Adds panic for unknown watch type, and reverts back to Run().

* Adds shell option back to consul lock command.

* Adds shell option back to consul exec command.

* Adds shell back into consul watch command.

* Refactors signal forwarding and makes Windows-friendly.

* Adds a clarifying comment.

* Changes error wording to a warning.

* Scopes signals to interrupt and kill.

This avoids us trying to send SIGCHILD to the dead process.

* Adds an error for shell=false for consul exec.

* Adds notes about the deprecated script and handler fields.

* De-nests an if statement.
2017-10-04 16:48:00 -07:00
Kyle Havlovitz 0063516e5e
Update metric names and add a legacy config flag 2017-10-04 16:43:27 -07:00
Frank Schroeder 23b057f46b build: add changelogfmt target to format [GH-xxxx] references to links 2017-10-04 21:14:16 +02:00
Frank Schröder 7b2ef00d03 Make GH-xxxx issue numbers clickable. (#3533) 2017-10-04 11:57:03 -07:00
Frank Schroeder 248f6f97ed
Revert "Test using issue numbers in CHANGELOG"
This reverts commit 3d069781ff2a63bb020d93f7089874c317449057.
2017-10-04 20:32:58 +02:00
Frank Schröder f7b8c357f7 Test using issue numbers in CHANGELOG 2017-10-04 20:29:14 +02:00
Frank Schroeder 0e077e7fa1
Revert "Test using github links in CHANGELOG"
This reverts commit e72ff5dd43db1e58ec52d7ac2f7ab5b20f4054ba.
2017-10-04 20:23:10 +02:00
Frank Schröder b767d1aae6 Test using github links in CHANGELOG 2017-10-04 20:21:59 +02:00
James Phillips c9fd08a94c Update CHANGELOG.md 2017-10-04 10:48:30 -07:00
Frank Schröder b2c4dc4360 Provide stable config for agent/self (#3532)
* config: provide stable config for /v1/agent/self (#3530)

This patch adds a stable subset of the previous Config struct to the
agent/self response. The actual runtime configuration is moved into
DebugConfig and will be documented to change.

Fixes #3530

* config: fix tests

* doc: update api documentation for /v1/agent/self
2017-10-04 10:43:17 -07:00
Frank Schroeder f1559c73e4
Update CHANGELOG.md 2017-10-04 19:20:56 +02:00
Frank Schroeder 0f664d098f doc: drop last references to -retry-join-* options 2017-10-04 19:12:28 +02:00
Frank Schroeder 67570e1bc3 doc: document go-discover format change 2017-10-04 19:12:28 +02:00
Frank Schroeder 3d4fa7f65d Update github.com/hashicorp/go-discover to pull in new config parser
This patch updates the go-discover library to use the new config parser
which uses a different encoding scheme for the go-discover config DSL.
Values are no longer URL encoded but taken literally unless they contain
spaces, backslashes or double quotes. To support keys or values with
these special characters the string needs to be double quoted and usual
escaping rules apply.

Fixes #3417
2017-10-04 19:12:28 +02:00
James Phillips 64adc44583 Update CHANGELOG.md 2017-10-04 09:55:15 -07:00
James Phillips 6529c505a5 Merge pull request #3531 from hashicorp/pr-3521-slackpad
ui: Use monospace font for textarea controls.
2017-10-04 09:53:41 -07:00
James Phillips 539285cf1f
Updates checked in web assets to pick up CSS change.
Closes #3521
2017-10-04 09:52:15 -07:00
Preetha Appan 80134b394a Update CHANGELOG.md 2017-10-04 10:46:36 -05:00
preetapan 545175d228 Merge pull request #3523 from hashicorp/issue_3511
Introduces new 'list' permission that applies to KV store recursive reads
2017-10-04 09:51:19 -05:00
Preetha Appan a855b69b54 Update ACL guide to describe the new list policy for Keys 2017-10-04 06:19:20 -05:00
preetapan e68213a587 Merge pull request #3528 from hashicorp/raft_vendor_update
Updates vendor directory for raft to record raft v1.0.0. No functiona…
2017-10-03 17:25:37 -05:00
Preetha Appan ae08f17c11 Updates vendor directory for raft to record raft v1.0.0. No functional changes 2017-10-03 17:19:10 -05:00
Preetha Appan f38d20eb40 Remove extra newline 2017-10-03 15:19:31 -05:00
Preetha Appan 3c81e2db7c Only allow 'list' policies within 'key' policy definitions. Consolidated two similar tests into one and fixed alignment. 2017-10-03 15:15:56 -05:00
Preetha Appan d5acfc3982 Introduces new 'list' permission that applies to KV store recursive reads, and enforced only when opted in. 2017-10-02 17:10:21 -05:00
Cyril Gaudin d852ee05cd ui: Use monospace font for textarea controls. 2017-10-02 15:49:20 +02:00
Kyle Havlovitz 7c7927ff3d
Update snapshot agent docs 2017-09-29 12:28:04 -07:00
Kyle Havlovitz 624be65d35
Split BaseCommand http config into a separate function 2017-09-29 12:26:14 -07:00
James Phillips 0c00d980aa Update CHANGELOG.md 2017-09-29 12:00:56 -07:00
Frank Schroeder 5bd5917d0e
Update CHANGELOG.md 2017-09-29 20:56:01 +02:00
Frank Schroeder 6b3a957c5e use ports from derived addresses 2017-09-29 20:26:43 +02:00
Frank Schroeder 544788d708 update docs 2017-09-29 20:26:43 +02:00
Frank Schroeder 8d8e2523eb config: drop advertise_addrs
Fixes #3516
2017-09-29 20:26:43 +02:00
Preetha Appan dd2cb9f619 Fix grammar in containers guide. 2017-09-29 10:37:04 -05:00
Preetha Appan 429fc86479 Update containers guide to mention that Consul now handles nodes changing IP addresses. 2017-09-29 10:20:33 -05:00
James Phillips fcdd69a7cb Clarifies server requirement for bootstrap-expect.
Fixes #3510.
2017-09-28 22:02:37 -07:00
preetapan 34b6fe3eee Update CHANGELOG,md 2017-09-28 21:26:31 -05:00
Preetha Appan de638ed2ba Update CHANGELOG.md with operator API endpoints whose http verb enforcement behavior change with 1.0 2017-09-28 21:15:15 -05:00
preetapan 3cfeeb1dd2 Merge pull request #3515 from hashicorp/sentinel_doc_update
Update sentinel documentation to remove features that are coming in a…
2017-09-28 21:02:34 -05:00
Preetha Appan acc32ccd2c Update sentinel documentation to remove features that are coming in a future release 2017-09-28 21:00:00 -05:00
Kyle Havlovitz 8403a98ea7
Add base command option for hiding generated help for normal args 2017-09-28 18:43:28 -07:00
James Phillips ea52a12990 Update CHANGELOG.md 2017-09-28 15:40:07 -07:00
James Phillips 42ee2f5de8 Merge pull request #3513 from hashicorp/list-peers-error
Returns errors properly from the consul operator raft list-peers comm…
2017-09-28 15:39:00 -07:00
James Phillips 7f02f9dad2
Returns errors properly from the consul operator raft list-peers command. 2017-09-28 15:37:59 -07:00
Frank Schroeder 0735c4db1b
Update CHANGELOG.md 2017-09-28 12:49:37 +02:00
Frank Schroeder eb6be8c0f1
Merge pull request #3343 from zeroae/f-node-dns-txt-record 2017-09-28 12:45:31 +02:00
Frank Schroeder f0efe2a3de
Fix tests after config refactor 2017-09-28 12:32:46 +02:00
Patrick Sodré 92546f9231
Update docs on RFC1464 vs RFC1035 options 2017-09-28 12:32:46 +02:00
Patrick Sodré 55c2746963
Implement encodeKVasRFC1464 function 2017-09-28 12:32:46 +02:00