1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-18 08:26:45 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Brad Rydzewski
59c637fc82
Merge pull request #2464 from bradrydzewski/master
set kube/vault refresh interval, fixes #2463
2018-07-30 12:56:18 -07:00
Brad Rydzewski
4f5c53f9ee set kube/vault refresh interval, fixes #2463 2018-07-30 12:39:18 -07:00
Matt Leung
75fbaf91d9 Fix vault-k8s expected response type
Vault server response for lease_duration is an integer, rather than a string
2018-05-02 16:54:34 -07:00
Matt Leung
187d1d65bb add additional opt to set v.auth 2018-04-27 14:50:47 -07:00
Matt Leung
db698f9ef4 fixup: some comments, added opts test, address pr concerns 2018-04-27 14:22:20 -07:00
Matt Leung
c4fe6496b5 fixup: catch err from parseduration 2018-04-24 15:26:12 -07:00
Matt Leung
79428aa231 Enable Vault auth through kubernetes auth method
Added a feature to obtain the initial Vault token from the Kubernetes
auth method.

This works by making a request to the Vault server at the specified auth
method mount point's login path and presenting the JWT located in a file
on a running pod, along with the Kubernetes role to authenticate as.

Vault will then respond with a token and its TTL, if the request is valid.
2018-04-24 14:56:28 -07:00
Brad Rydzewski
a1d1d49852 add vault driver_opts support 2018-03-08 12:46:39 -08:00
Brad Rydzewski
5e557bb2d8 add debug logs to vault implementation 2018-02-23 09:11:47 -08:00
Brad Rydzewski
5f5a0413fe add secret plugin interface 2018-02-21 14:24:45 -08:00
Brad Rydzewski
6d61e57e93 enable periodic tokens 2018-02-21 14:12:10 -08:00