kuby-azure 0.3.3 → 0.4.0

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: 0b314dd23ada59d875f5c1affa60fead32e729488a9ab10b0421094689faadeb
4
- data.tar.gz: 6d3ba0f33f82c32da6f7e8bb70cd53a14c9fc4fe6fd8d18129513b3abab273ff
3
+ metadata.gz: c2cbbc13d598745ad0ddb6101dfd24fc7c5751f6aff0b8ce7affb2f13dd3e80d
4
+ data.tar.gz: dd9e62c153fa57de624eed3a26c9bf135174dd02e8cc256b5ea2938ed844d77a
5
5
  SHA512:
6
- metadata.gz: 9bb31401305129d8e4e280a1ff45eef067bd2d0a8903be954c60691b9a92a65fb372c0da5578a802a5d1914d9bc09bdd9cdb127fa2f09fbfa94a2ad7fa13aa22
7
- data.tar.gz: 386587ddd5741f4537e41391cc7c80536f1ea1b976d887f039f2cc8e17e5a41298d7d22edc040dd057544a99467fa6200628ce34138d62bc77c90dbb953c3787
6
+ metadata.gz: 9c7b8bb402cc5e1250df9c41f4dd8f34a26d8bf1ac1f4bee1c863866f1b6516dc8659736461921df089a23bed0906729bd0f1bd22480a9b59b77baad7d481f31
7
+ data.tar.gz: 59b054a2b33de06d1382eef65e5c7a0571dc5b20369dc47ceedaf4c38671c026cd6ab34c2f8ac521d61ca5148f7c93eb10ab24521cd49ddf9a50ca39b9ef971c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.4.0
2
+ * Allow configuring a `credentials` object so it's possible to auth without a client secret.
3
+
1
4
  ## 0.3.3
2
5
  * Avoid using `kubernetes_cli` during kubeconfig refresh.
3
6
  - Fixes infinite recursion.
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'kuby-core', path: '../kuby-core'
5
+ gem 'kuby-core'
6
6
 
7
7
  group :development, :test do
8
8
  gem 'pry-byebug'
@@ -6,7 +6,7 @@ module Kuby
6
6
  class Config
7
7
  extend ::KubeDSL::ValueFields
8
8
 
9
- value_fields :tenant_id, :client_id, :client_secret, :subscription_id
9
+ value_fields :tenant_id, :client_id, :client_secret, :subscription_id, :credentials
10
10
  value_fields :resource_group_name, :resource_name
11
11
 
12
12
  def hash_value
@@ -44,7 +44,8 @@ module Kuby
44
44
  tenant_id: config.tenant_id,
45
45
  client_id: config.client_id,
46
46
  client_secret: config.client_secret,
47
- subscription_id: config.subscription_id
47
+ subscription_id: config.subscription_id,
48
+ credentials: config.credentials
48
49
  )
49
50
  end
50
51
 
@@ -1,5 +1,5 @@
1
1
  module Kuby
2
2
  module Azure
3
- VERSION = '0.3.3'.freeze
3
+ VERSION = '0.4.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuby-azure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-10 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kube-dsl
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.2.22
76
+ rubygems_version: 3.4.5
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Azure provider for Kuby.