add-vault-tokens 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/add_vault_tokens.rb +2 -1
- data/lib/add_vault_tokens/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49c40bb6e96afeef62af3981dbc1307eb3f429fc
|
4
|
+
data.tar.gz: 464a979eb42f36c7da79612ae6ce110f40ad8f3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 449dce7d71c4140fb87989068644114d482541f90e53dd3984e70a91d93926d9d3c52f78d20ffa2bcc609b79de6b6ce4cf201b7a7acb8c7f49471edaa4447c6e
|
7
|
+
data.tar.gz: 6910f17e2d83e867295411dee41b1666de540d978835fb16e3ce4a8697e6bf4b376274713639bc531c951f1f24b6d63d3151d81c5d113c018efe4b71530e324f
|
data/lib/add_vault_tokens.rb
CHANGED
@@ -45,7 +45,8 @@ module AddVaultTokens
|
|
45
45
|
STDERR.puts("Issuing token for #{full_app_name}") unless quiet
|
46
46
|
token = create_token_for(full_app_name)
|
47
47
|
info['environment'] ||= {}
|
48
|
-
info['environment']['VAULT_ADDR'] =
|
48
|
+
info['environment']['VAULT_ADDR'] =
|
49
|
+
ENV.fetch('CONTAINER_VAULT_ADDR', ENV.fetch('VAULT_ADDR'))
|
49
50
|
info['environment']['VAULT_ENV'] = env if env
|
50
51
|
info['environment']['VAULT_TOKEN'] = token.auth.client_token
|
51
52
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: add-vault-tokens
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Kidd
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vault
|