settings_reader-vault_resolver 0.4.6 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7cf89396af4e1bdd661243b99672359c0da0ae19af41e89b25e4564765a8c9a
4
- data.tar.gz: 0a4e19ad01365e9c5b40e7192fc4c6fc259a238bad1d0c7c08f0e9ab20a15fec
3
+ metadata.gz: 3724b5f1e3a08a1a1e80ebc011b96cbefbdbeb1afe2e5fa9bdff0183677c4cb0
4
+ data.tar.gz: 536f6551e777762925d21f2d91441fd1b7345b8447573b76ff431a86eddaf1f8
5
5
  SHA512:
6
- metadata.gz: 0275337c5c6c561972cacaf4cfa91576950f024a8062669b74678836328f890b5a93cd4803f65352e5d6d40998c1e6f635d54a045458ec51e24224167cbfe5c4
7
- data.tar.gz: fe1bebe19a8f0334bd893fe84c9b162d5b2ffb06c6c253f088f74269bf2cbb64b37499bd6da2253bdb0b7261fe322268031a35086d1ceb299ec874e37a9f1188
6
+ metadata.gz: a03b5cae943fc86fafeac7148e8578735dc5457ebede76c541a8b0b9849ced5c0e0859154fe830245a7b8836f4e00fd203ac825de8e0d659cf839dcb202028e4
7
+ data.tar.gz: ea725762f6c17cc10e54418273517d7f589ce7b9250980eb956b772f4f79b7f2bfc6fb362a3fd45bd8c3aa264ad2aaaf3e88b1301d48006f455bd90d73c1ae96
@@ -2,7 +2,7 @@ module Vault
2
2
  # Monkey patch to support k8s authenticaiton. Taken from https://github.com/hashicorp/vault-ruby/pull/202
3
3
  class Authenticate < Request
4
4
  def kubernetes(role, route: nil, service_token_path: nil)
5
- route ||= '/v1/auth/kubernetes/login'
5
+ route ||= (ENV['VAULT_LOGIN_ENDPOINT'] || '/v1/auth/kubernetes/login')
6
6
  service_token_path ||= '/var/run/secrets/kubernetes.io/serviceaccount/token'
7
7
 
8
8
  payload = {
@@ -1,5 +1,5 @@
1
1
  module SettingsReader
2
2
  module VaultResolver
3
- VERSION = '0.4.6'.freeze
3
+ VERSION = '0.4.7'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: settings_reader-vault_resolver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volodymyr Mykhailyk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-02 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby