This was a technical debt left from the launch of CCM for automatic service to LB port mapping. We were using name and project queries to reference the load balancer created for serving user services. The field will be backfilled manually after deployment.
10 lines
200 B
Ruby
10 lines
200 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:kubernetes_cluster) do
|
|
add_foreign_key :services_lb_id, :load_balancer, type: :uuid, null: true
|
|
end
|
|
end
|
|
end
|