uffizzi-cli 2.4.7 → 2.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uffizzi/cli/cluster.rb +0 -3
- data/lib/uffizzi/cli/install.rb +3 -0
- data/lib/uffizzi/version.rb +1 -1
- data/lib/uffizzi.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d357e75482392caf7a0dcf00cc15e527947af62ec9a00186ab79b94ccfc8b3e
|
4
|
+
data.tar.gz: 3b8af8bc628b4ab6398cf4acfda863e7560e21861ae89dbcc82cdf0902e496bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e0c676e7a8af1a2054e1155dea4b866447760d1b88ccea22cfed911a1231718f3f46d721d1a02c5df83e168c4b4f421343f9309b2cc35a4ad9283dacb2031c1
|
7
|
+
data.tar.gz: d241444a8ee0e01406b42ff4797aed2e52c26fb386d330ed252ba94b7e2763d48224b55e6a00069386b05ee70c68b13e488901627f4a5a35c9555f583a936b8f
|
data/lib/uffizzi/cli/cluster.rb
CHANGED
@@ -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
|
}
|
data/lib/uffizzi/cli/install.rb
CHANGED
@@ -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
|
|
data/lib/uffizzi/version.rb
CHANGED
data/lib/uffizzi.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2024-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|