kuby-digitalocean 0.3.0 → 0.4.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: eb912827029d83236bbea429358b6f028a91ca5417df4f7f51f295f1f793c815
4
- data.tar.gz: 6322031522465f144e22815daa4ed8a93dfc395e81bf92296e31c15121152a3d
3
+ metadata.gz: 3cb1cf88b3d447c272981eef795e12563e627c834d8128fe9d473cb3d14c4f5c
4
+ data.tar.gz: d08c12bae45dc662ad264d41dc23bfbb88f20b438334ebb3c06157b2126d61f6
5
5
  SHA512:
6
- metadata.gz: f1c5ac023e64806f383c278fe847ca47f6b7d060ead04b28ddcd0bfe643e2b3e1150e5cfb7fbfed940ec0251fbfbf5f6c6d09a9a8bde8a4149f125d88261bc80
7
- data.tar.gz: c2ff355c31213b766c0ee2267327752c79915abd29de35ed6ad0d6c804103002a38f104a35124a540d61a7b1dc3a9ac685c2a8d8ec8024c9a6806f72390b1448
6
+ metadata.gz: 2f2d29f461ef78cf5eb4a8c80cd82d6bde0b36608d769e676b43ac0e6fe84facdd299c85e7ffb1e5a9bbf9dbf86df84e4603e9ad0ba17123deeaba7a29762688
7
+ data.tar.gz: a3830cf55e97ef295f203ba5c13a30a7a35f0bb43e81fb8f4efffba0fe3bdc0a80a46e57f085020148aeeb9cd323c471ab41dbf7ced09fac7a1869e0efd78cb0
@@ -1,3 +1,6 @@
1
+ ## 0.4.0
2
+ * Accept `environment` instead of `definition` instances.
3
+
1
4
  ## 0.3.0
2
5
  * Refresh kubeconfig in more places.
3
6
  - Before setup
@@ -17,7 +17,7 @@ module Kuby
17
17
 
18
18
  def kubeconfig_path
19
19
  @kubeconfig_path ||= File.join(
20
- kubeconfig_dir, "#{definition.app_name.downcase}-kubeconfig.yaml"
20
+ kubeconfig_dir, "#{environment.app_name.downcase}-kubeconfig.yaml"
21
21
  )
22
22
  end
23
23
 
@@ -26,7 +26,7 @@ module Kuby
26
26
  end
27
27
 
28
28
  def after_setup
29
- if nginx_ingress = definition.kubernetes.plugin(:nginx_ingress)
29
+ if nginx_ingress = environment.kubernetes.plugin(:nginx_ingress)
30
30
  service = ::KubeDSL::Resource.new(
31
31
  kubernetes_cli.get_object(
32
32
  'service', nginx_ingress.namespace, nginx_ingress.service_name
@@ -1,5 +1,5 @@
1
1
  module Kuby
2
2
  module DigitalOcean
3
- VERSION = '0.3.0'.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-digitalocean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
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: 2020-08-06 00:00:00.000000000 Z
11
+ date: 2020-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: droplet_kit