Commit Graph

9 Commits

Author SHA1 Message Date
PMExtra 1ccfa96c2e improve logging 2022-12-28 02:47:49 +08:00
PMExtra ed63eb6833 migrate FABIO to VAULT_FABIO_MODE and persist it 2022-12-23 19:34:31 +08:00
PMExtra fe1bfe9ae1 improve vault and vault_api deployhooks 2022-12-23 18:59:01 +08:00
Christophe Le Guern cc90f83463
Use 'vault kv put' instead of 'vault write'
When using vault_cli with a kv2 path, it isn't working. I have the following error:
```
WARNING! The following warnings were returned from Vault:                                                                                                                                                                                     
                                                                                                                                                                                                                                              
  * Invalid path for a versioned K/V secrets engine. See the API docs for the                                                                                                                                                                 
  appropriate API endpoints to use. If using the Vault CLI, use 'vault kv put'                                                                                                                                                                
  for this operation.                                                                                                                                                                                                                         
```
The new way to write data  is to use `vault kv put`, it is compatible with kv1 and kv2.
Ref: https://www.vaultproject.io/docs/commands#reading-and-writing-data
```
The original version of K/V used the common read and write operations. A more advanced K/V Version 2 engine was released in Vault 0.10 and introduced the kv get and kv put commands.
```
2021-03-29 15:10:14 +02:00
Viktor Szépe 61613bee98
Fix SC2230 2020-07-16 06:13:15 +02:00
Peter Dave Hello ac9f6e3a41 Remove trailing spaces in text files
This issue in the shell scripts will also be detected in the stable
version of shfmt(we are currently using an ancient pre-release of shfmt)
2019-10-05 21:09:24 +08:00
Sergey Pashinin c84466b131
Write certs in Vault for Fabio load balancer 2018-12-10 16:55:21 +03:00
Bob Belnap 87a8dda955 add chain cert 2018-03-28 12:40:31 -04:00
Bob Belnap 2c45f27356 rename deploy hook vault to vault_cli 2018-02-20 09:11:45 -05:00