Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
lidiamokevnina committed Mar 2, 2024
2 parents a090404 + cc4637f commit 441fdf1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
uffizzi-cli (2.4.6)
uffizzi-cli (2.4.7)
activesupport
awesome_print
faker
Expand Down
3 changes: 3 additions & 0 deletions lib/uffizzi/cli/cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def list
method_option :output, required: false, type: :string, aliases: '-o', enum: ['json', 'pretty-json']
method_option :'creation-source', required: false, type: :string
method_option :'k8s-version', required: false, type: :string
method_option :'node-selector', required: false, type: :string
def create(name = nil)
run('create', { name: name })
end
Expand Down Expand Up @@ -261,13 +262,15 @@ def cluster_creation_params(cluster_name)
manifest_content = load_manifest_file(options[:manifest])
creation_source = options[:"creation-source"] || ClusterService::MANUAL_CREATION_SOURCE
k8s_version = options[:"k8s-version"]
node_selector = options[:"node-selector"]

{
cluster: {
name: cluster_name,
manifest: manifest_content,
creation_source: creation_source,
k8s_version: k8s_version,
node_selector: node_selector,
},
token: oidc_token,
}
Expand Down
2 changes: 1 addition & 1 deletion lib/uffizzi/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Uffizzi
VERSION = '2.4.6'
VERSION = '2.4.7'
end

0 comments on commit 441fdf1

Please sign in to comment.