kuby-kube-db 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1621c86aad3126548a697437d9cea89acffb7c8ea53d34acb8c3ed0f8d1ffb82
4
- data.tar.gz: ab9265f1cb768a2176496502141e0cab20362cecd4493d1418123cf8b798aa30
3
+ metadata.gz: 8f182e8a41ccccbf1a4420e57afb7ad46937355d362d17e56df1c3871100aa9e
4
+ data.tar.gz: b82611c381d553229b8584b3583c2c6f6be88f92c96af942cd801d17bd47d024
5
5
  SHA512:
6
- metadata.gz: de7c69e9a2f55babb2b3705d69e7e429349fa5b3ad8009540344eec4843ab001122805ec6eeeb96bf132af14be39efe61d486610de9370f2ffac7dc8d0ffd697
7
- data.tar.gz: 4e8fee62bcb5cf81704322c10bfa1f3b1658215ca5d5d74dd2d294391b49d973ef43bf86f3d7f8ebe98890937daa7d58b6d046db408092870b442cccba137dcb
6
+ metadata.gz: 30873e1aea3775239355d5c74607f9a2345087167588d022ef78902faeebf9755858e72612c703ffe9f70c7217716ad59cacc50769cb7233176504a0de492582
7
+ data.tar.gz: 82cddc258d9c3c4a61cb194312af36cf9785b241a6c7252717de0db698bc35b8558c2afd090c26df2b173f005df67b1a6c94893c315e43d71ebeb3afb8f889e8
@@ -0,0 +1,8 @@
1
+ ## 0.3.0
2
+ * Upgrade to kube-dsl 0.3.
3
+
4
+ ## 0.2.0
5
+ * Require version file in order to use the `VERSION` constant.
6
+
7
+ ## 0.1.0
8
+ * Birthday!
data/Gemfile CHANGED
@@ -4,11 +4,10 @@ gemspec
4
4
 
5
5
  group :development do
6
6
  gem 'dry-inflector'
7
- gem 'kube-dsl', '~> 0.1'
8
7
  end
9
8
 
10
9
  group :development, :test do
11
- gem 'kuby', path: '../kuby'
10
+ gem 'kuby-core', path: '../kuby-core'
12
11
  gem 'kuby-cert-manager', path: '../kuby-cert-manager'
13
12
  gem 'pry-byebug'
14
13
  gem 'rake'
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.platform = Gem::Platform::RUBY
14
14
 
15
15
  s.add_dependency 'helm-cli', '~> 0.1'
16
+ s.add_dependency 'kube-dsl', '~> 0.3'
16
17
 
17
18
  s.require_path = 'lib'
18
19
  s.files = Dir['{lib,spec}/**/*', 'Gemfile', 'LICENSE', 'CHANGELOG.md', 'README.md', 'Rakefile', 'kuby-kube-db.gemspec']
@@ -3,8 +3,8 @@ module Kuby::KubeDB::DSL::Api::V1
3
3
  value_fields :uid, :deletion_timestamp, :cluster_name, :deletion_grace_period_seconds, :namespace, :generation, :finalizers, :generate_name, :resource_version, :creation_timestamp, :self_link, :name
4
4
  array_field(:owner_reference) { KubeDSL::DSL::Meta::V1::OwnerReference.new }
5
5
  array_field(:managed_field) { KubeDSL::DSL::Meta::V1::ManagedFieldsEntry.new }
6
- object_field(:labels) { ::KubeDSL::KeyValueFields.new(format: :string) }
7
- object_field(:annotations) { ::KubeDSL::KeyValueFields.new(format: :string) }
6
+ key_value_field(:labels, format: :string)
7
+ key_value_field(:annotations, format: :string)
8
8
 
9
9
  def serialize
10
10
  {}.tap do |result|
@@ -11,7 +11,7 @@ module Kuby::KubeDB::DSL::Api::V1
11
11
  object_field(:readiness_probe) { KubeDSL::DSL::V1::Probe.new }
12
12
  object_field(:lifecycle) { KubeDSL::DSL::V1::Lifecycle.new }
13
13
  object_field(:resources) { KubeDSL::DSL::V1::ResourceRequirements.new }
14
- object_field(:node_selector) { ::KubeDSL::KeyValueFields.new(format: :string) }
14
+ key_value_field(:node_selector, format: :string)
15
15
 
16
16
  def serialize
17
17
  {}.tap do |result|
@@ -3,7 +3,7 @@ module Kuby::KubeDB::DSL::Api::V1
3
3
  value_fields :namespace, :interval, :port
4
4
  object_field(:exporter) { Kuby::KubeDB::DSL::Api::V1::PrometheusExporterSpec.new }
5
5
  object_field(:service_monitor) { Kuby::KubeDB::DSL::Api::V1::ServiceMonitorSpec.new }
6
- object_field(:labels) { ::KubeDSL::KeyValueFields.new(format: :string) }
6
+ key_value_field(:labels, format: :string)
7
7
 
8
8
  def serialize
9
9
  {}.tap do |result|
@@ -1,7 +1,7 @@
1
1
  module Kuby::KubeDB::DSL::Api::V1
2
2
  class ServiceMonitorSpec < ::KubeDSL::DSLObject
3
3
  value_fields :namespace, :interval
4
- object_field(:labels) { ::KubeDSL::KeyValueFields.new(format: :string) }
4
+ key_value_field(:labels, format: :string)
5
5
 
6
6
  def serialize
7
7
  {}.tap do |result|
@@ -17,7 +17,7 @@ module Kuby
17
17
  OPERATOR_CHART_NAME = 'appscode/kubedb'.freeze
18
18
  CATALOG_CHART_NAME = 'appscode/kubedb-catalog'.freeze
19
19
  OPERATOR_WAIT_INTERVAL = 5 # seconds
20
- OPERATOR_WAIT_MAX = 30 # seconds
20
+ OPERATOR_WAIT_MAX = 60 # seconds
21
21
 
22
22
  OPERATOR_PARAMS = {
23
23
  'apiserver.enableValidatingWebhook' => 'true',
@@ -1,6 +1,6 @@
1
1
  module Kuby
2
2
  module KubeDB
3
- VERSION = '0.2.0'.freeze
4
- KUBEDB_VERSION = 'v0.13.0-rc.0'.freeze
3
+ VERSION = '0.3.0'.freeze
4
+ KUBEDB_VERSION = 'v0.13.0-rc.4'.freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuby-kube-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-05 00:00:00.000000000 Z
11
+ date: 2020-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: helm-cli
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: kube-dsl
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.3'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.3'
27
41
  description: KubeDB plugin for Kuby.
28
42
  email:
29
43
  - camertron@gmail.com
@@ -31,6 +45,7 @@ executables: []
31
45
  extensions: []
32
46
  extra_rdoc_files: []
33
47
  files:
48
+ - CHANGELOG.md
34
49
  - Gemfile
35
50
  - LICENSE
36
51
  - Rakefile
@@ -202,7 +217,7 @@ files:
202
217
  homepage: http://github.com/getkuby/kuby-kube-db
203
218
  licenses: []
204
219
  metadata: {}
205
- post_install_message:
220
+ post_install_message:
206
221
  rdoc_options: []
207
222
  require_paths:
208
223
  - lib
@@ -217,8 +232,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
232
  - !ruby/object:Gem::Version
218
233
  version: '0'
219
234
  requirements: []
220
- rubygems_version: 3.0.6
221
- signing_key:
235
+ rubygems_version: 3.1.4
236
+ signing_key:
222
237
  specification_version: 4
223
238
  summary: KubeDB plugin for Kuby.
224
239
  test_files: []