Commit Graph

9132 Commits

Author SHA1 Message Date
Alex Dadgar
eef5242d21 Merge pull request #3395 from hashicorp/d-quota
Document Quotas
2017-10-16 12:41:05 -07:00
Alex Dadgar
fdce43cc1b review feedback 2017-10-16 12:40:41 -07:00
Alex Dadgar
c92162cc49 Merge pull request #3385 from hashicorp/f-acl-cli
Policy list and token self commands
2017-10-16 11:30:09 -07:00
Alex Dadgar
54ed1fe290 Merge branch 'master' into f-acl-cli 2017-10-16 11:29:48 -07:00
Alex Dadgar
9094e11bfc Update acl-tokens.html.md 2017-10-16 11:29:08 -07:00
Alex Dadgar
87411ea6e7 guide 2017-10-16 11:23:18 -07:00
Michael Schurter
cd177f1cbb Merge pull request #3387 from hashicorp/f-aclless-health
Agent Health Endpoint
2017-10-16 11:05:09 -07:00
Alex Dadgar
1826d05d5c clarify duration 2017-10-16 10:08:35 -07:00
Alex Dadgar
49289eb1ec api 2017-10-15 21:15:14 -07:00
Alex Dadgar
bf72d096ca quota api 2017-10-15 16:41:24 -07:00
Alex Dadgar
b97735d7b9 Merge pull request #3375 from hashicorp/b-batch
Allow batch jobs to be rerun if purged
2017-10-13 17:11:45 -07:00
Alex Dadgar
b973978040 Merge pull request #3384 from hashicorp/f-self-policies
Ability to introspect self token
2017-10-13 17:11:22 -07:00
Michael Schurter
0932f1f786 Add Agent.Health to api package 2017-10-13 16:43:00 -07:00
Alex Dadgar
823e7d8ee7 Update acl_token_self.go 2017-10-13 16:38:13 -07:00
Alex Dadgar
b38bb83ea0 List does json/template 2017-10-13 16:37:33 -07:00
Alex Dadgar
6517db420e add missing namespace commands 2017-10-13 16:32:47 -07:00
Alex Dadgar
af6360086c policy list and token self commands 2017-10-13 16:31:46 -07:00
Alex Dadgar
d4f7e30741 Self token lookup 2017-10-13 16:31:46 -07:00
Alex Dadgar
d37127a913 ListPolicies and GetPolicy work w/o management token 2017-10-13 16:31:46 -07:00
Michael Schurter
4b5b2aa1a6 Better client health check and error handling 2017-10-13 16:25:25 -07:00
Alex Dadgar
c8cfcab793 quota command docs 2017-10-13 16:16:36 -07:00
Michael Schurter
911a044ee8 Merge pull request #3388 from hashicorp/b-migration-fixes
Test fixes from #3383
2017-10-13 16:03:12 -07:00
Michael Schurter
f6f8c3dafd Test fixes from #3383 2017-10-13 15:45:35 -07:00
Michael Schurter
71178c97a6 Agent Health Endpoint 2017-10-13 15:37:44 -07:00
Alex Dadgar
002e31ae1b Merge pull request #3386 from hashicorp/f-sync
sync
2017-10-13 15:32:58 -07:00
Alex Dadgar
f6fbb36054 sync 2017-10-13 14:36:02 -07:00
Michael Schurter
dd17810706 Merge pull request #3383 from hashicorp/b-migrate-token
base64 migrate token
2017-10-13 13:46:54 -07:00
Alex Dadgar
792ffcb283 Self token lookup 2017-10-13 13:12:20 -07:00
Alex Dadgar
97dda5474b ListPolicies and GetPolicy work w/o management token 2017-10-13 13:12:20 -07:00
Alex Dadgar
d94915c324 changelog 2017-10-13 12:40:37 -07:00
Alex Dadgar
56ea031267 Allow batch jobs to be rerun if purged
This PR allows batch jobs to be rerun if they have been purged.
2017-10-13 12:40:37 -07:00
Alex Dadgar
f4e93d9047 remove bad test 2017-10-13 12:40:21 -07:00
Michael Schurter
897df36b4f Merge pull request #3376 from hashicorp/f-node-acls
Allow Node.SecretID for Node.GetNode and Allocs.GetAlloc
2017-10-13 11:51:48 -07:00
Michael Schurter
99e8a45fa2 Remove support for pre-0.5 nodes
Nodes before 0.5 did not have a SecretID. Since SecretID is now a
required field and 0.4.x is >2 point releases ago, drop support for it.
2017-10-13 11:28:47 -07:00
Michael Schurter
0d535aea95 base64 migrate token
HTTP header values must be ASCII.

Also constant time compare tokens and test the generate and compare
helper functions.
2017-10-13 10:59:13 -07:00
Alex Dadgar
ae1883e2ae vault_grace doc 2017-10-13 10:15:44 -07:00
Alex Dadgar
1f3920ffdf rkt remove allocid 2017-10-13 10:07:50 -07:00
Alex Dadgar
4cd807aa06 Merge pull request #3382 from sheerun/patch-5
Remove AllocID from ExecutorContext
2017-10-13 10:06:06 -07:00
Michael Schurter
94a7d45232 Fix Request.SecretID -> Request.AuthToken 2017-10-13 09:56:56 -07:00
Alex Dadgar
ea84ab55e6 Merge pull request #3379 from sheerun/docs-1
Fix typo: job -> task
2017-10-13 09:51:35 -07:00
Adam Stankiewicz
79eccb2b1e Remove AllocID from ExecutorContext 2017-10-13 17:07:49 +02:00
Adam Stankiewicz
891813fb1f Fix typo: job -> task 2017-10-13 11:51:17 +02:00
Michael Lange
6f9972ac19 Merge pull request #3358 from hashicorp/f-ui-namespaces
UI for Namespaces (enterprise only)
2017-10-12 17:22:15 -07:00
Michael Schurter
455e9150ea Fix AuthToken use on Node.GetAllocs 2017-10-12 17:12:41 -07:00
Michael Schurter
3ed3d1b925 Merge pull request #3374 from hashicorp/f-auth-token
SecretID -> AuthToken
2017-10-12 16:57:49 -07:00
Michael Schurter
5317c17e93 Alloc watcher must send Node.SecretID as AuthToken
An auth token is required if ACLs are enabled
2017-10-12 16:38:02 -07:00
Michael Schurter
6c5ac10db8 Allow Node.SecretID for GetNode and GetAlloc 2017-10-12 16:27:33 -07:00
Alex Dadgar
f0f75abd32 Merge pull request #3372 from hashicorp/b-versions
Fix sorting of job versions
2017-10-12 15:48:01 -07:00
Alex Dadgar
be053a4327 Merge pull request #3373 from hashicorp/f-403
Permission denied results in 403
2017-10-12 15:47:29 -07:00
Alex Dadgar
f1965d6305 Handle invalid token as well 2017-10-12 15:39:05 -07:00