diff --git a/app/models/manageiq/providers/kubernetes/container_manager.rb b/app/models/manageiq/providers/kubernetes/container_manager.rb index 668ce01290..6668c3a95c 100644 --- a/app/models/manageiq/providers/kubernetes/container_manager.rb +++ b/app/models/manageiq/providers/kubernetes/container_manager.rb @@ -142,7 +142,7 @@ def self.params_for_create :name => 'authentications.default.valid', :skipSubmit => true, :isRequired => true, - :validationDependencies => %w[type], + :validationDependencies => %w[type zone_id], :fields => [ { :component => "select", @@ -243,7 +243,7 @@ def self.params_for_create :name => "authentications.prometheus.valid", :skipSubmit => true, :isRequired => true, - :validationDependencies => ['type', "metrics_selection", "authentications.bearer.auth_key"], + :validationDependencies => %w[type zone_id metrics_selection authentications.bearer.auth_key], :condition => { :when => "metrics_selection", :is => 'prometheus', @@ -365,7 +365,7 @@ def self.params_for_create :name => 'endpoints.virtualization.valid', :skipSubmit => true, :isRequired => true, - :validationDependencies => %w[type virtualization_selection], + :validationDependencies => %w[type zone_id virtualization_selection], :condition => { :when => 'virtualization_selection', :is => 'kubevirt',