Michael Schurter
1a1552f05a
Merge pull request #3657 from jrasell/patch-4
...
Update template.html.md Vault template example
2017-12-13 09:25:24 -08:00
James Rasell
07134665c2
Update template.html.md Vault template example
...
The change updates the Vault example within the Environment Variables section to use the `.value` notation rather than the `.key` notation. This is because the example is calling a specific secret key and populating an env var with this; meaning the value of the secret is required over the value.
2017-12-13 10:40:22 +00:00
Rob Genova
c14ea7a6ca
Merge pull request #3655 from hashicorp/d-docker-formatting
...
Fix minor formatting issue on Docker docs page
2017-12-12 14:32:02 -08:00
Rob Genova
e6ef94a796
Merge pull request #3654 from hashicorp/d-resources-formatting
...
Unbold hyperlinks on Resources page
2017-12-12 14:31:39 -08:00
Rob Genova
9559341f42
fix minor formatting/spacing issue
2017-12-12 22:11:15 +00:00
Rob Genova
02bcb547b6
unbold hyperlinks
2017-12-12 22:01:17 +00:00
Michael Schurter
2a3de8f889
Add #3551 to 0.7.1 changelog
2017-12-12 13:15:53 -08:00
Michael Schurter
83ad481846
Merge pull request #3651 from hashicorp/b-fix-vagrant-setup
...
chown $GOPATH for vagrant user
2017-12-12 10:26:32 -08:00
Alex Dadgar
d7464e7719
website
2017-12-11 17:54:33 -08:00
Alex Dadgar
d61ade8f02
remove generated structs
2017-12-11 17:51:41 -08:00
Alex Dadgar
9b5660efdf
Release v0.7.1-rc1
2017-12-11 17:45:09 -08:00
Alex Dadgar
8e63d545c4
generated assets
2017-12-11 17:30:37 -08:00
Alex Dadgar
f0b0697b57
Keyify struct
2017-12-11 17:23:14 -08:00
Alex Dadgar
fcfa7b95f6
bump version
2017-12-11 17:19:02 -08:00
Michael Schurter
b6152cf436
Merge pull request #3650 from hashicorp/b-lowercase-agent-service-id
...
Use the Service.Hash() method in agent service ids
2017-12-11 17:12:52 -08:00
Chelsea Komlo
28d8863a9c
Merge pull request #3649 from hashicorp/rpc_upgrade_mode-fix
...
Fix for rpc_upgrade_mode
2017-12-11 20:12:38 -05:00
Michael Schurter
85590a67c1
chown $GOPATH for vagrant user
2017-12-11 17:06:07 -08:00
Michael Schurter
cdcefd0908
Use the Service.Hash() method in agent service ids
...
The allocID and taskName parameters are useless for agents, but it's
still nice to reuse the same hash method for agent and task services.
This brings in the lowercase mode for the agent hash as well.
2017-12-11 16:50:15 -08:00
Chelsea Holland Komlo
5951222ccb
fix for rpc_upgrade_mode
2017-12-11 19:23:45 -05:00
Alex Dadgar
455fdee299
Merge pull request #3648 from hashicorp/b-node-status
...
Node Status output includes new modify time
2017-12-11 16:14:28 -08:00
Alex Dadgar
45f5f4c521
Update job_status.go
2017-12-11 16:14:03 -08:00
Alex Dadgar
9a8a89c3ab
Node Status output includes new modify time
2017-12-11 16:08:25 -08:00
Alex Dadgar
189ff0dc22
Fix upgrade path of modify time
2017-12-11 15:58:24 -08:00
Alex Dadgar
66041b7a42
Merge pull request #3646 from hashicorp/b-periodic-non-leader
...
Fix followers not creating periodic launch
2017-12-11 15:33:38 -08:00
Alex Dadgar
e19d633f4d
changelog
2017-12-11 14:00:20 -08:00
Alex Dadgar
86608124ca
Fix followers not creating periodic launch
...
Fix an issue in which periodic launches wouldn't be made on followers.
2017-12-11 13:55:17 -08:00
Michael Schurter
52bb3f592d
Merge pull request #3619 from hashicorp/f-3380-custom-ports
...
Allow custom ports for services and checks when using driver address_mode
2017-12-11 11:43:33 -08:00
Michael Schurter
6e5e2ece4f
Merge pull request #3640 from jippi/patch-4
...
fix hashi-ui link
2017-12-11 10:41:11 -08:00
Christian Winther
9672786b76
fix hashi-ui link
2017-12-10 21:05:30 +01:00
Michael Schurter
c4d4ead199
Fix test broken by mock updates
2017-12-08 16:45:25 -08:00
Michael Schurter
2dca0671b7
Lowercase service IDs to prevent eye bleeding
2017-12-08 15:54:04 -08:00
Michael Schurter
45494f7304
Fix port labels on mock Alloc/Job/Node
2017-12-08 14:50:06 -08:00
Michael Schurter
0d8995fb83
Improve validation and testing of service/check ports
2017-12-08 13:52:23 -08:00
Michael Schurter
0d472b6a41
Expand port and address_mode docs
2017-12-08 12:39:50 -08:00
Michael Schurter
4f1002c1a8
Be more defensive in port checks
2017-12-08 12:27:57 -08:00
Michael Schurter
d613e0aaf5
Move service hash logic to Service.Hash method
2017-12-08 12:03:43 -08:00
Michael Schurter
b71edf846f
Hash fields used in task service IDs
...
Fixes #3620
Previously we concatenated tags into task service IDs. This could break
deregistration of tag names that contained double //s like some Fabio
tags.
This change breaks service ID backward compatibility so on upgrade all
users services and checks will be removed and re-added with new IDs.
This change has the side effect of including all service fields in the
ID's hash, so we no longer have to track PortLabel and AddressMode
changes independently.
2017-12-08 12:03:43 -08:00
Michael Schurter
af8964e896
Improve port label validation and diff testing
2017-12-08 12:03:43 -08:00
Michael Schurter
91282315d1
Prevent using port 0 with address_mode=driver
2017-12-08 12:03:43 -08:00
Michael Schurter
4b20441eef
Validate port label for host address mode
...
Also skip getting an address for script checks which don't use them.
Fixed a weird invalid reserved port in a TaskRunner test helper as well
as a problem with our mock Alloc/Job. Hopefully the latter doesn't cause
other tests to fail, but we were referencing an invalid PortLabel and
just not catching it before.
2017-12-08 12:03:43 -08:00
Michael Schurter
f88f587ce1
Add Using Driver Address Mode
docs
2017-12-08 12:03:43 -08:00
Michael Schurter
e930057e4a
Document service/check address_mode/port changes
2017-12-08 12:03:43 -08:00
Michael Schurter
30dd570061
Fix interpolation bug with service/check updates
...
Previously if only an interpolated variable used in a service or check
was changed we interpolated the old and new services and checks with the
new variable, so nothing appeared to have changed.
2017-12-08 12:03:00 -08:00
Michael Schurter
4347026f83
Test Consul from TaskRunner thoroughly
...
Rely less on the mockConsulServiceClient because the real
consul.ServiceClient needs all the testing it can get!
2017-12-08 12:03:00 -08:00
Michael Schurter
4ae115dc59
Allow custom ports for services and checks
...
Fixes #3380
Adds address_mode to checks (but no auto) and allows services and checks
to set literal port numbers when using address_mode=driver.
This allows SDNs, overlays, etc to advertise internal and host addresses
as well as do checks against either.
2017-12-08 12:03:00 -08:00
Michael Schurter
1dd5b3822c
Merge pull request #3608 from hashicorp/b-3342-windows-log-leak
...
Fix bug in log framer only affecting Windows
2017-12-08 10:59:26 -08:00
Preetha
b758832e0e
Merge pull request #3635 from hashicorp/clarify_node_vs_task_vars
...
Clarify difference between node and task metadata interpolated vars.
2017-12-08 11:50:20 -06:00
Preetha Appan
e652956496
Clarify difference between node and task metadata interpolated vars.
2017-12-08 11:44:15 -06:00
Alex Dadgar
a0d6b6a121
Merge pull request #3630 from hashicorp/b-periodic
...
Handle race between fingerprinters and registration
2017-12-07 16:11:13 -08:00
Alex Dadgar
91ffbbb517
Review feedback
2017-12-07 16:10:57 -08:00