kuby-cert-manager 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: 2392c66119fbab4ffc0bac15a3c9186864a8777572ff164ab7f26d3215319362
4
- data.tar.gz: 89728fab1eb78d48c00fd6e4ee4bb3d94435e35073d3d89dad870f01db278246
3
+ metadata.gz: 33ffd08b56cd673600ba896fbe25ea0c35b27f4510bc5b477b8e486c776f5259
4
+ data.tar.gz: 506285903110571e6bd4df69e976a6a5f680b4be6fe4f14606eafc681b5224cf
5
5
  SHA512:
6
- metadata.gz: a1fde075b03fcd3fd254bab477f1b936f1a9a6fb7fd5bfffa759d4d0f735300fd5d95ce667f3f72e480d5625b2a2545f9b5aa18bcf8c9d8b1a09df45bdce259b
7
- data.tar.gz: d56df48e1f5b645630d4a39b47903caecb440d7532624ef6b4b9eb45af415ecac3551eb3a8bb6edda1788d12f118e96b9da787f368ef9818d8e2950eefc65b3e
6
+ metadata.gz: 7a3b841947207ea6613b9ae0e9f641169ff77aa7cda63c3abcae18dd467c7e29128bdda4b1a0a754561e75bce7fd397d32fb24b51e23ab2e61946ed46e83ead5
7
+ data.tar.gz: 88db549b59322273dd4d5b353c7893596da42fd9edd0ccb719d9c21915e6e90679ebd20c91196080d5aaffa657c25064551700059c95e3411a5c58e4142f3b22
@@ -1,3 +1,7 @@
1
+ ## 0.3.0
2
+ * Conform to new plugin architecture.
3
+ * Accept `environment` instead of `definition` instances.
4
+
1
5
  ## 0.2.0
2
6
  * Get environment name correctly for kuby-core 0.6.0.
3
7
 
@@ -2,7 +2,7 @@ require 'kuby'
2
2
 
3
3
  module Kuby
4
4
  module CertManager
5
- class Plugin < ::Kuby::Kubernetes::Plugin
5
+ class Plugin < ::Kuby::Plugin
6
6
  class Config
7
7
  extend ::KubeDSL::ValueFields
8
8
 
@@ -38,7 +38,7 @@ module Kuby
38
38
  private
39
39
 
40
40
  def issuer_name
41
- @issuer_name ||= "letsencrypt-#{spec.definition.environment.name}"
41
+ @issuer_name ||= "letsencrypt-#{environment.name}"
42
42
  end
43
43
 
44
44
  # hard-code this stuff for now
@@ -87,7 +87,7 @@ module Kuby
87
87
  end
88
88
 
89
89
  def spec
90
- definition.kubernetes
90
+ environment.kubernetes
91
91
  end
92
92
 
93
93
  def kubernetes_cli
@@ -1,5 +1,5 @@
1
1
  module Kuby
2
2
  module CertManager
3
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuby-cert-manager
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
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: helm-cli