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 +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -2
- data/kuby-kube-db.gemspec +1 -0
- data/lib/kuby/kube-db/dsl/api/v1/object_meta.rb +2 -2
- data/lib/kuby/kube-db/dsl/api/v1/pod_spec.rb +1 -1
- data/lib/kuby/kube-db/dsl/api/v1/prometheus_spec.rb +1 -1
- data/lib/kuby/kube-db/dsl/api/v1/service_monitor_spec.rb +1 -1
- data/lib/kuby/kube-db/plugin.rb +1 -1
- data/lib/kuby/kube-db/version.rb +2 -2
- metadata +21 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f182e8a41ccccbf1a4420e57afb7ad46937355d362d17e56df1c3871100aa9e
|
4
|
+
data.tar.gz: b82611c381d553229b8584b3583c2c6f6be88f92c96af942cd801d17bd47d024
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30873e1aea3775239355d5c74607f9a2345087167588d022ef78902faeebf9755858e72612c703ffe9f70c7217716ad59cacc50769cb7233176504a0de492582
|
7
|
+
data.tar.gz: 82cddc258d9c3c4a61cb194312af36cf9785b241a6c7252717de0db698bc35b8558c2afd090c26df2b173f005df67b1a6c94893c315e43d71ebeb3afb8f889e8
|
data/CHANGELOG.md
ADDED
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'
|
data/kuby-kube-db.gemspec
CHANGED
@@ -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
|
-
|
7
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
4
|
+
key_value_field(:labels, format: :string)
|
5
5
|
|
6
6
|
def serialize
|
7
7
|
{}.tap do |result|
|
data/lib/kuby/kube-db/plugin.rb
CHANGED
@@ -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 =
|
20
|
+
OPERATOR_WAIT_MAX = 60 # seconds
|
21
21
|
|
22
22
|
OPERATOR_PARAMS = {
|
23
23
|
'apiserver.enableValidatingWebhook' => 'true',
|
data/lib/kuby/kube-db/version.rb
CHANGED
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.
|
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-
|
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.
|
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: []
|