Commit Graph

9049 Commits

Author SHA1 Message Date
Michael Schurter
300740ee77 Merge pull request #3353 from hashicorp/f-acl-prefix-search
Prefix Search ACL enforcement
2017-10-11 20:26:03 -07:00
Alex Dadgar
b1e67a44ec Merge pull request #3360 from hashicorp/f-consul-template
Use Vault default grace
2017-10-11 18:11:17 -07:00
Alex Dadgar
5fdadc9224 fix test 2017-10-11 18:11:03 -07:00
Alex Dadgar
980d833073 Merge pull request #3322 from hashicorp/f-authenticated-volumes
Authenticated client volumes
2017-10-11 18:09:21 -07:00
Alex Dadgar
0bb80816f9 fix test 2017-10-11 18:08:37 -07:00
Michael Schurter
f4e3fa6770 Refactor permissions checks into funcs
funcs are in the _oss file to ease creating Enterprise versions which
support Quotas and Namespaces.
2017-10-11 18:05:27 -07:00
Alex Dadgar
040c35f186 documentation 2017-10-11 17:48:18 -07:00
Alex Dadgar
232b4a2de4 changelog 2017-10-11 17:43:14 -07:00
Alex Dadgar
412f475750 vendor consul-template 2017-10-11 17:23:09 -07:00
Alex Dadgar
61bcfff20a Change vault_grace default to match vaults 2017-10-11 17:20:12 -07:00
Alex Dadgar
b4ebc69dc7 Small fixes
This commit:

* Fixes the error checking in migration tests now that we are using the
canonical ErrPermissionDenied error
* Guard against NPE when looking up objects to generate the migration
token
* Handle an additional case in ShouldMigrate()
2017-10-11 17:13:50 -07:00
Chelsea Holland Komlo
1b6f6e598a fixups from code review
change creation of a migrate token to be for a previous allocation
2017-10-11 17:13:50 -07:00
Chelsea Holland Komlo
76b2c50dbc fix up build warnings 2017-10-11 17:11:57 -07:00
Chelsea Holland Komlo
5e0da10bcd adding migration token validation for gc endpoint 2017-10-11 17:11:57 -07:00
Chelsea Holland Komlo
2368068355 fixing up code review comments 2017-10-11 17:09:20 -07:00
Chelsea Holland Komlo
919bd2072d adding valid case test for http endpoint 2017-10-11 17:09:20 -07:00
Chelsea Holland Komlo
38f8217ea0 add tests for functionality 2017-10-11 17:09:20 -07:00
Chelsea Holland Komlo
fba1653057 Add functionality for authenticated volumes 2017-10-11 17:09:20 -07:00
Chelsea Holland Komlo
58914c7356 add MigrateTokens to server response for allocs 2017-10-11 17:09:20 -07:00
Michael Schurter
aefba77281 Prefix Search ACL enforcement 2017-10-11 17:00:12 -07:00
Michael Schurter
8e80559e25 Merge pull request #3351 from hashicorp/f-acl-system
System ACL enforcement
2017-10-11 16:32:50 -07:00
Michael Schurter
1e66f1aed9 Merge pull request #3350 from hashicorp/f-acl-status-members
Status.Members ACL enforcement
2017-10-11 16:32:25 -07:00
Michael Schurter
6bff1f6743 Merge pull request #3347 from hashicorp/docs-federated-ports
Mention network connectivity in federation guide
2017-10-11 16:28:10 -07:00
Michael Schurter
a955bb2520 Mention network connectivity in federation guide 2017-10-11 16:27:53 -07:00
Michael Schurter
f4039166fe Merge pull request #3339 from hashicorp/f-acl-force-periodic
Force Periodic ACL enforcement
2017-10-11 16:26:29 -07:00
Michael Lange
1669004fb7 Merge pull request #3359 from hashicorp/d-ui-query-params
Document the query params across all UI pages
2017-10-11 16:20:41 -07:00
Alex Dadgar
1576c55c85 Merge pull request #3348 from hashicorp/f-ui
Nomad UI Command
2017-10-11 15:52:29 -07:00
Michael Lange
886418dccf List query params on the API UI docs page 2017-10-11 15:49:18 -07:00
Michael Lange
f2d1fb9673 Removes extraneous search query param from the servers list page 2017-10-11 15:48:46 -07:00
Michael Lange
931c99c9f3 Remove extraneous search query param from the job index page 2017-10-11 15:30:49 -07:00
Michael Schurter
dffe26a713 Merge pull request #3356 from tgross/master
update docker.auth.helper docs to note hardcoded prefix
2017-10-11 13:58:44 -07:00
Tim Gross
51176acdff update docker.auth.helper to note hardcoded prefix 2017-10-11 16:19:40 -04:00
Michael Schurter
e8a57eb59c Merge pull request #3355 from hashicorp/d-api-metrics-nav
Change Metrics API nav option to 'Metrics'
2017-10-11 11:05:59 -07:00
Rob Genova
557c740185 Update api.erb 2017-10-11 11:02:52 -07:00
Michael Schurter
cd1e7fe427 Merge pull request #3338 from hashicorp/f-acl-operator
Operator ACL enforcement
2017-10-10 17:06:28 -07:00
Michael Schurter
cb543554a4 Operator ACL enforcement 2017-10-10 15:18:19 -07:00
Michael Schurter
1c1781917e Force Periodic ACL enforcement 2017-10-10 15:16:41 -07:00
Michael Lange
fbd36282f6 Merge pull request #3332 from hashicorp/b-ui-partial-jobs-on-nodes-view
Ensure the job name and task group name for each allocation is shown in the table
2017-10-10 14:49:26 -07:00
Michael Schurter
c0707ebd14 System ACL enforcement
Enforce ACL for System.GarbageCollect and System.ReconcileJobSummaries
RPC endpoints.
2017-10-10 10:53:10 -07:00
Michael Schurter
4856705459 Status.Members ACL enforcement
Was incorrectly checked on the HTTP API before. Moved to RPC endpoint.
2017-10-10 10:36:54 -07:00
Michael Schurter
9a13179bb9 Merge pull request #3346 from hashicorp/b-nil-client-panic
ForceLeave endpoint must use Server.ResolveToken
2017-10-10 10:14:31 -07:00
Michael Schurter
de6b77c3b9 Merge pull request #3345 from hashicorp/vendor-checkpoint-with-timeout
Updating go-checkpoint lib to have a fixed timeout
2017-10-10 09:52:17 -07:00
Alex Dadgar
2c4c6b6ff6 Nomad UI Command 2017-10-09 23:01:55 -07:00
Michael Schurter
44dc166e5f Fix AgentSelf, AgentMembers, and KeyringOperations 2017-10-09 16:12:28 -07:00
Michael Schurter
c39a2333d9 ForceLeave endpoint must use Server.ResolveToken
The ForceLeaveRequest endpoint may only be called on servers, but the
code was using a Client to resolve tokens. This would cause a panic when
an agent wasn't both a Server and a Client.
2017-10-09 15:49:04 -07:00
Matt McQuillan
cf09595b89 Updating go-checkpoint lib to have a fixed timeout 2017-10-09 15:23:46 -04:00
Michael Schurter
402f2bcec7 Merge pull request #3336 from hashicorp/f-acl-client-agent
/v1/client/agent/* ACL enforcement
2017-10-09 12:20:26 -07:00
Michael Schurter
e3520aded5 /v1/client/agent/* ACL enforcement 2017-10-09 12:18:54 -07:00
Michael Schurter
2e5454b60e Merge pull request #3331 from hashicorp/f-acl-client-alloc
/v1/client/allocation/./{stats,gc} ACL enforcement
2017-10-09 12:15:30 -07:00
Michael Schurter
a4026229ab /v1/client/allocation/./{stats,gc} ACL enforcement 2017-10-09 12:13:52 -07:00