Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
lidiamokevnina committed May 24, 2024
2 parents 9ffa13a + cfb53e2 commit cd9b0a6
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 33 deletions.
26 changes: 13 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: core
specs:
uffizzi_core (2.4.7)
uffizzi_core (2.4.8)
aasm
actionpack (~> 6.1.0)
active_model_serializers
Expand Down Expand Up @@ -111,20 +111,20 @@ GEM
ast (2.4.2)
awesome_print (1.9.2)
aws-eventstream (1.3.0)
aws-partitions (1.897.0)
aws-sdk-core (3.191.3)
aws-partitions (1.934.0)
aws-sdk-core (3.196.1)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-ecr (1.69.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-ecr (1.72.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sdk-eventbridge (1.57.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-eventbridge (1.59.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sdk-iam (1.94.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-iam (1.98.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
Expand Down Expand Up @@ -190,7 +190,7 @@ GEM
dry-core (~> 0.5, >= 0.5)
dry-initializer (~> 3.0)
dry-schema (~> 1.9, >= 1.9.1)
enumerize (2.7.0)
enumerize (2.8.1)
activesupport (>= 3.2)
erubi (1.10.0)
faraday (1.10.3)
Expand Down Expand Up @@ -257,7 +257,7 @@ GEM
mini_portile2 (2.8.0)
minitest (5.15.0)
msgpack (1.4.5)
multipart-post (2.4.0)
multipart-post (2.4.1)
nio4r (2.5.8)
nokogiri (1.13.3)
mini_portile2 (~> 2.8.0)
Expand All @@ -271,10 +271,10 @@ GEM
ast (~> 2.4.1)
parslet (2.0.0)
pg (1.3.4)
public_suffix (5.0.4)
public_suffix (5.0.5)
puma (4.3.11)
nio4r (~> 2.0)
pundit (2.3.1)
pundit (2.3.2)
activesupport (>= 3.0.0)
racc (1.6.0)
rack (2.2.3)
Expand Down
36 changes: 18 additions & 18 deletions core/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
uffizzi_core (2.4.7)
uffizzi_core (2.4.8)
aasm
actionpack (~> 6.1.0)
active_model_serializers
Expand Down Expand Up @@ -110,20 +110,20 @@ GEM
activerecord (>= 5.2.6)
awesome_print (1.9.2)
aws-eventstream (1.3.0)
aws-partitions (1.895.0)
aws-sdk-core (3.191.3)
aws-partitions (1.934.0)
aws-sdk-core (3.196.1)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-ecr (1.69.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-ecr (1.72.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sdk-eventbridge (1.57.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-eventbridge (1.59.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sdk-iam (1.94.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-iam (1.98.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
Expand Down Expand Up @@ -160,7 +160,7 @@ GEM
digest (3.1.1)
docker_distribution (0.1.2)
digest (~> 3)
dotenv (3.1.0)
dotenv (3.1.2)
dry-configurable (0.14.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.6)
Expand Down Expand Up @@ -193,7 +193,7 @@ GEM
dry-core (~> 0.5, >= 0.5)
dry-initializer (~> 3.0)
dry-schema (~> 1.9, >= 1.9.1)
enumerize (2.7.0)
enumerize (2.8.1)
activesupport (>= 3.2)
erubi (1.12.0)
factory_bot (6.2.0)
Expand Down Expand Up @@ -272,20 +272,20 @@ GEM
minitest
power_assert (>= 1.1)
mocha (1.13.0)
multipart-post (2.4.0)
net-imap (0.4.10)
multipart-post (2.4.1)
net-imap (0.4.11)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.2)
timeout
net-smtp (0.4.0.1)
net-smtp (0.5.0)
net-protocol
nio4r (2.5.8)
nokogiri (1.16.2-aarch64-linux)
nokogiri (1.16.5-aarch64-linux)
racc (~> 1.4)
nokogiri (1.16.2-x86_64-linux)
nokogiri (1.16.5-x86_64-linux)
racc (~> 1.4)
octokit (8.1.0)
base64
Expand All @@ -306,9 +306,9 @@ GEM
public_suffix (4.0.6)
puma (5.6.2)
nio4r (~> 2.0)
pundit (2.3.1)
pundit (2.3.2)
activesupport (>= 3.0.0)
racc (1.7.3)
racc (1.8.0)
rack (2.2.3)
rack-cors (1.1.1)
rack (>= 2.0.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class UffizziCore::Controller::CreateCluster::ClusterSerializer < UffizziCore::B
include UffizziCore::DependencyInjectionConcern
include_module_if_exists('UffizziCore::Controller::CreateCluster::ClusterSerializerModule')

attributes :name, :manifest, :base_ingress_host, :distro, :image
attributes :name, :manifest, :base_ingress_host, :distro, :image, :account_id

def base_ingress_host
managed_dns_zone = controller_settings_service.vcluster_settings_by_vcluster(object).managed_dns_zone
Expand All @@ -20,6 +20,10 @@ def distro
kubernetes_distribution.distro
end

def account_id
object.project.account_id
end

private

def kubernetes_distribution
Expand Down
2 changes: 1 addition & 1 deletion core/lib/uffizzi_core/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module UffizziCore
VERSION = '2.4.7'
VERSION = '2.4.8'
end

0 comments on commit cd9b0a6

Please sign in to comment.