uffizzi-cli 2.4.7 → 2.4.8

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: 2d5ba713ecb457d3cb8f344936b8192c76bed2951fc22036d4416e2267b00fd0
4
- data.tar.gz: d1f0324a8b54de3282c2215ed9b68af1fc9c5d9fc54593647431bc7b57279c87
3
+ metadata.gz: 8d357e75482392caf7a0dcf00cc15e527947af62ec9a00186ab79b94ccfc8b3e
4
+ data.tar.gz: 3b8af8bc628b4ab6398cf4acfda863e7560e21861ae89dbcc82cdf0902e496bc
5
5
  SHA512:
6
- metadata.gz: 966f0569cd79e933a4d1c62fe2c031b4856a92e36aa8804c62bc2f73d5faee9d0f325783921cda96c2bcf3b67504c39529c5baccfba2549c3762e13f6f517375
7
- data.tar.gz: 616709d553d89ef6ac020360c41173a2756fed3582fa35e4c3eacca29cf919a29aaa68a8ef1ea912d63814a13890f6bbdc74cb7783a9e7e9e40f21979dbb0167
6
+ metadata.gz: 3e0c676e7a8af1a2054e1155dea4b866447760d1b88ccea22cfed911a1231718f3f46d721d1a02c5df83e168c4b4f421343f9309b2cc35a4ad9283dacb2031c1
7
+ data.tar.gz: d241444a8ee0e01406b42ff4797aed2e52c26fb386d330ed252ba94b7e2763d48224b55e6a00069386b05ee70c68b13e488901627f4a5a35c9555f583a936b8f
@@ -35,7 +35,6 @@ module Uffizzi
35
35
  method_option :output, required: false, type: :string, aliases: '-o', enum: ['json', 'pretty-json']
36
36
  method_option :'creation-source', required: false, type: :string
37
37
  method_option :'k8s-version', required: false, type: :string
38
- method_option :'node-selector', required: false, type: :string
39
38
  def create(name = nil)
40
39
  run('create', { name: name })
41
40
  end
@@ -262,7 +261,6 @@ module Uffizzi
262
261
  manifest_content = load_manifest_file(options[:manifest])
263
262
  creation_source = options[:"creation-source"] || ClusterService::MANUAL_CREATION_SOURCE
264
263
  k8s_version = options[:"k8s-version"]
265
- node_selector = options[:"node-selector"]
266
264
 
267
265
  {
268
266
  cluster: {
@@ -270,7 +268,6 @@ module Uffizzi
270
268
  manifest: manifest_content,
271
269
  creation_source: creation_source,
272
270
  k8s_version: k8s_version,
273
- node_selector: node_selector,
274
271
  },
275
272
  token: oidc_token,
276
273
  }
@@ -17,6 +17,7 @@ module Uffizzi
17
17
  method_option :context, type: :string
18
18
  method_option :issuer, type: :string, enum: ['letsencrypt', 'zerossl']
19
19
  method_option :'repo-url', type: :string
20
+ method_option :'node-selector-template', required: false, type: :string
20
21
  def controller(hostname)
21
22
  Uffizzi::AuthHelper.check_login
22
23
 
@@ -66,6 +67,7 @@ module Uffizzi
66
67
  controller_password: generate_password,
67
68
  cert_email: options[:email],
68
69
  cluster_issuer: options[:issuer] || InstallService::DEFAULT_CLUSTER_ISSUER,
70
+ node_selector_template: options[:"node-selector-template"],
69
71
  }
70
72
  end
71
73
 
@@ -212,6 +214,7 @@ module Uffizzi
212
214
  managed_dns_zone: uri.host,
213
215
  login: installation_options[:controller_username],
214
216
  password: installation_options[:controller_password],
217
+ node_selector_template: installation_options[:node_selector_template],
215
218
  }
216
219
  end
217
220
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uffizzi
4
- VERSION = '2.4.7'
4
+ VERSION = '2.4.8'
5
5
  end
data/lib/uffizzi.rb CHANGED
@@ -7,6 +7,7 @@ require 'active_support'
7
7
  require 'active_support/core_ext/hash/indifferent_access'
8
8
  require 'active_support/core_ext/object/blank'
9
9
  require 'launchy'
10
+ require 'base64'
10
11
 
11
12
  require 'thor'
12
13
  require 'uffizzi/error'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uffizzi-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.7
4
+ version: 2.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Thurman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-03-02 00:00:00.000000000 Z
12
+ date: 2024-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport