Michael Schurter
43d89f864e
connect: task hook for bootstrapping envoy sidecar
...
Fixes #6041
Unlike all other Consul operations, boostrapping requires Consul be
available. This PR tries Consul 3 times with a backoff to account for
the group services being asynchronously registered with Consul.
2019-08-22 08:15:32 -07:00
Michael Schurter
b3c13b564f
Merge pull request #6157 from hashicorp/f-connect-register
...
Register connect enabled group services with Consul
2019-08-20 14:45:38 -07:00
Michael Schurter
9e4950f36d
ci: require Consul 1.6.0-rc1
2019-08-20 13:23:23 -07:00
Tim Gross
7e9ec7f3c5
structs: add taskgroup networks and services to plan diffs
...
Adds a check for differences in `job.Diff` so that task group networks
and services, including new Consul connect stanzas, show up in the job
plan outputs.
2019-08-20 16:18:30 -04:00
Michael Schurter
eeacb87f3b
connect: register group services with Consul
...
Fixes #6042
Add new task group service hook for registering group services like
Connect-enabled services.
Does not yet support checks.
2019-08-20 12:25:10 -07:00
Chris Baker
35d920fbb7
Merge pull request #6152 from dwagin/master
...
Bump up github.com/hashicorp/go-syslog for better BSD support
2019-08-20 14:22:03 -04:00
Chris Baker
4d6eb2c590
Merge pull request #6165 from hashicorp/docs-interpolation-node-region
...
add node.region to interpolation documentation
2019-08-20 14:16:14 -04:00
Chris Baker
697a0e4e49
add node.region to interpolation documentation to address #6164
2019-08-20 17:55:21 +00:00
Tim Gross
7f358b3d48
test: require root for linux devmode test
2019-08-20 13:31:49 -04:00
Michael Lange
c29d836dd9
Merge pull request #5871 from hashicorp/f-ui/alloc-fs
...
UI: Allocation file system explorer
2019-08-20 10:18:23 -07:00
Michael Lange
7b038acdb7
Remove the temporary allocationFileExplorer mirage scenario
2019-08-20 09:40:49 -07:00
Michael Lange
1783a7a5d8
Merge pull request #6158 from hashicorp/f-ui/alloc-fs-empty-dir-state
...
UI: Use the standard empty message when an fs dir is empty
2019-08-20 09:27:44 -07:00
Michael Schurter
b8ebfb8c12
Merge pull request #6156 from hashicorp/vendor-testify
...
vendor: update testify to v1.4.0
2019-08-20 07:22:16 -07:00
Buck Doyle
02f6a71dae
Add ability to control Mirage logging via query ( #6105 )
...
This lets us turn Mirage logging on without editing any
files, which makes it easier to switch between branches.
2019-08-20 08:36:08 -05:00
Tim Gross
c4a45a6bbc
add optional task field to group service checks
2019-08-20 09:35:31 -04:00
Mahmood Ali
97705ed6b3
Merge pull request #5911 from hashicorp/b-rpc-consistent-reads
...
Block rpc handling until state store is caught up
2019-08-20 09:29:37 -04:00
Dmitry
642584e5a9
updated vendor/vendor.json
2019-08-20 13:34:36 +03:00
Dmitry
22c0fb19cf
added version github.com/hashicorp/go-syslog
2019-08-20 13:17:08 +03:00
Nick Ethier
6fee34f591
sidecar_task override in connect admission controller ( #6140 )
...
* structs: use seperate SidecarTask struct for sidecar_task stanza and add merge
* nomad: merge SidecarTask into proxy task during connect Mutate hook
2019-08-20 01:22:46 -04:00
Michael Lange
65aa4757b8
Use the standard empty state when a dir is empty
2019-08-19 17:16:26 -07:00
Michael Schurter
866d5e7b94
vendor: update testify to v1.4.0
2019-08-19 15:36:04 -07:00
Charlie Voiselle
6a09397baa
Merge pull request #6149 from hashicorp/docs-cv-prefer-routable
...
link-local addresses can be fingerprinted
2019-08-19 15:22:12 -04:00
Tim Gross
992db3346c
command: add -connect flag to job init
...
Adds an example job for Consul Connect integration as well as an
annotated example job.
2019-08-19 14:43:04 -04:00
Michael Lange
354da0f60c
Merge pull request #6048 from hashicorp/f-ui/alloc-fs-files
...
UI: Alloc FS: File Viewer
2019-08-19 10:36:28 -07:00
Dmitry
f0df324149
Bump up github.com/hashicorp/go-syslog
2019-08-19 12:17:01 +03:00
Michael Lange
1cb0cf3f7f
Merge pull request #6142 from hashicorp/d-add-discuss-link
...
Add a link to the discussion forum on the resources page
2019-08-17 18:01:29 -07:00
Charlie Voiselle
bc03834672
Rewording based on reviews
2019-08-16 13:33:26 -04:00
Charlie Voiselle
39cf666925
link-local addresses can be fingerprinted
...
Added note to document that link-local addresses can be fingerprinted in
cases where no routable address can be found. Crosslinked to
`"fingerprint.network.disallow_link_local"` because they are somewhat
related and it is documented at a reasonable distance from this setting.
2019-08-16 12:44:57 -04:00
Danielle
83a75b310d
Merge pull request #6144 from hashicorp/b-docker-exec
...
docker: Fix issue where an exec may never timeout
2019-08-16 15:53:50 +02:00
Danielle Lancashire
a921c21c8e
docker: Fix issue where an exec may never timeout
2019-08-16 15:40:03 +02:00
Michael Lange
056d4dfa5e
Add a link to the discussion forum on the resources page
2019-08-16 03:20:42 -07:00
Charlie Voiselle
478195a06b
Merge pull request #6138 from hashicorp/docs-fix-data-flag
...
--payload -> --data for curl; consistent @payload
2019-08-15 14:27:08 -04:00
Charlie Voiselle
6db7a8ce32
--payload -> --data for curl; consistent @payload
2019-08-15 14:09:44 -04:00
Michael Schurter
3cd0bcae82
Merge pull request #6103 from groovemonkey/master
...
syntax fix; add example for alloc exec -task
2019-08-15 10:54:00 -07:00
Lucas BEE
04f5ab391f
Add NetworkIsolation in TaskConfig ( #6135 )
...
NetworkIsolation was left out of the task config when using an
external task driver plugin
2019-08-15 13:05:55 -04:00
Nick Ethier
aaba483787
Builtin Admission Controller Framework ( #6116 )
...
* nomad: add admission controller framework
* nomad: add admission controller framework and Consul Connect hooks
* run admission controllers before checking permissions
* client: add default node meta for connect configurables
* nomad: remove validateJob func since it has been moved to admission controller
* nomad: use new TaskKind type
* client: use consts for connect sidecar image and log level
* Apply suggestions from code review
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com >
* nomad: add job register test with connect sidecar
* Update nomad/job_endpoint_hooks.go
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com >
2019-08-15 11:22:37 -04:00
Tim Gross
7950253628
changelog: -dev=connect feature
2019-08-15 08:57:27 -04:00
Michael Lange
a321145457
Encode characters in file paths to ensure proper URIs
2019-08-14 12:54:11 -07:00
Tim Gross
e145d3ba30
agent: add optional param to -dev flag for connect ( #6126 )
...
Consul Connect must route traffic between network namespaces through a
public interface (i.e. not localhost). In order to support testing in
dev mode, users needed to manually set the interface which doesn't
make for a smooth experience.
This commit adds a facility for adding optional parameters to the
`nomad agent -dev` flag and uses it to add a `-dev=connect` flag that
binds to a public interface on the host.
2019-08-14 15:29:37 -04:00
Tim Gross
843de4e2f7
ci: add GOMAXPROCS=1 to lint step to avoid OOM
2019-08-14 14:10:23 -04:00
Tim Gross
6448ed1056
move nomad init outputs to go-bindata assets
2019-08-14 14:10:23 -04:00
Lucas BEE
dfd673f3c6
Fix missing plugin driver capabilities ( #6128 )
...
NetIsolationModes and MustInitiateNetwork were left out of the
driver Capabilities when using an external task driver plugin
Signed-off-by: Lucas BEE <pouulet@gmail.com >
2019-08-14 09:10:10 -04:00
Preetha
e7ff3e855d
Merge pull request #6097 from hashicorp/f-kind-validate
...
Add validation for kind field if it is a consul connect proxy
2019-08-13 11:05:30 -05:00
Mahmood Ali
829c9dc78f
Merge pull request #6123 from hashicorp/r-makefile-tweaks-20190513
...
Ease user customizations of Makefile
2019-08-13 10:30:10 -04:00
Mahmood Ali
b3d2c87216
Allow per-user local customizations of makefile
...
Allow users to customize their makefiles by adding custom
targets/variables without checking them in.
2019-08-13 10:12:57 -04:00
Mahmood Ali
4e80282bd1
Honor GO_TAGS env-var
...
Allow honoring `GO_TAGS` environment variable if set. Currently, users
must set variable as a makefile argument e.g. `make GO_TAGS=ui dev`, and
this allows us to use env-var syntax (e.g. `GO_TAGS=ui make dev`) and
make it convenient to set GO_TAGS globally.
2019-08-13 10:04:45 -04:00
Mahmood Ali
7a2ff00cd7
Merge pull request #6122 from hashicorp/b-circleci-trs
...
circleci: fix test reports and some refactoring
2019-08-13 09:53:20 -04:00
Mahmood Ali
3f891ed9b5
parameterize golang version
2019-08-13 09:26:44 -04:00
Buck Doyle
0caf7e2750
website: Add TOC links in page body ( #6113 )
...
This adds the “Jump to section” feature from Terraform’s documentation.
2019-08-13 08:19:01 -05:00
Mahmood Ali
ca40bbee41
circleci: fix test reports and some refactoring
2019-08-12 20:30:20 -04:00