uffizzi-cli 2.4.6 → 2.4.8

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: 2f954b8f82aabbd435972f10d4070dc9463642d8d23702a80f6897e8bce74cfe
4
- data.tar.gz: 53ec7b439ed075e8582ed208b5a1ab5a03cbfe4e8bc6e79b8e4abaaf76ae2ada
3
+ metadata.gz: 8d357e75482392caf7a0dcf00cc15e527947af62ec9a00186ab79b94ccfc8b3e
4
+ data.tar.gz: 3b8af8bc628b4ab6398cf4acfda863e7560e21861ae89dbcc82cdf0902e496bc
5
5
  SHA512:
6
- metadata.gz: e60cab6e8a4b07c6c1871e31d15d9b27544bf800cc5c461515d69289cc579a96f3291b704a70347bb3d492bb64cb68eae761f0b31b70fc103d2eb4573441cd94
7
- data.tar.gz: e9c0eb113223ff5aeda960f6f55f5e63a5057912ea663ee8cbb5b45e4ff99ff47603818d1d48c09b355bf3e43ea3780f255a370e5ef11e48683b81a075a9e1b9
6
+ metadata.gz: 3e0c676e7a8af1a2054e1155dea4b866447760d1b88ccea22cfed911a1231718f3f46d721d1a02c5df83e168c4b4f421343f9309b2cc35a4ad9283dacb2031c1
7
+ data.tar.gz: d241444a8ee0e01406b42ff4797aed2e52c26fb386d330ed252ba94b7e2763d48224b55e6a00069386b05ee70c68b13e488901627f4a5a35c9555f583a936b8f
@@ -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.6'
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.6
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-02-20 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