diff options
Diffstat (limited to 'spec/factories/clusters/clusters.rb')
-rw-r--r-- | spec/factories/clusters/clusters.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/factories/clusters/clusters.rb b/spec/factories/clusters/clusters.rb index 843f87ef7d6..7d0aaa45e40 100644 --- a/spec/factories/clusters/clusters.rb +++ b/spec/factories/clusters/clusters.rb @@ -86,6 +86,23 @@ FactoryBot.define do application_helm factory: %i(clusters_applications_helm installed) end + trait :with_installed_prometheus do + application_prometheus factory: %i(clusters_applications_prometheus installed) + end + + trait :with_all_applications do + application_helm factory: %i(clusters_applications_helm installed) + application_ingress factory: %i(clusters_applications_ingress installed) + application_cert_manager factory: %i(clusters_applications_cert_manager installed) + application_crossplane factory: %i(clusters_applications_crossplane installed) + application_prometheus factory: %i(clusters_applications_prometheus installed) + application_runner factory: %i(clusters_applications_runner installed) + application_jupyter factory: %i(clusters_applications_jupyter installed) + application_knative factory: %i(clusters_applications_knative installed) + application_elastic_stack factory: %i(clusters_applications_elastic_stack installed) + application_fluentd factory: %i(clusters_applications_fluentd installed) + end + trait :with_domain do domain { 'example.com' } end |