Skip to content

Commit

Permalink
[430] Add base_ingress_host
Browse files Browse the repository at this point in the history
  • Loading branch information
zipofar committed Jun 28, 2023
1 parent 6aa06d8 commit be8cf02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/app/lib/uffizzi_core/concerns/models/cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module UffizziCore::Concerns::Models::Cluster
end

event :disable, after: :after_disable do
transitions from: [:fail_deploy_namespace, :deploying, :deployed, :failed], to: :disabled
transitions from: [:failed_deploy_namespace, :deploying, :deployed, :failed], to: :disabled
end
end

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# frozen_string_literal: true

class UffizziCore::Controller::CreateCluster::ClusterSerializer < UffizziCore::BaseSerializer
attributes :manifest
attributes :manifest, :base_ingress_host

def base_ingress_host
Settings.app.managed_dns_zone
end
end

0 comments on commit be8cf02

Please sign in to comment.