summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-16 00:09:22 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-16 00:09:22 +0000
commitcf97983af87962e678412790363bba200a2be4b1 (patch)
tree2c16fc8a32b92d6e55fbda66796c0ea59e9bea61 /spec/factories
parent2eda658f34763b651b198365550c67d073439a12 (diff)
downloadgitlab-ce-cf97983af87962e678412790363bba200a2be4b1.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/clusters/applications/helm.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/clusters/applications/helm.rb b/spec/factories/clusters/applications/helm.rb
index 0a4f0fba9ab..728c83e01b4 100644
--- a/spec/factories/clusters/applications/helm.rb
+++ b/spec/factories/clusters/applications/helm.rb
@@ -139,5 +139,14 @@ FactoryBot.define do
cluster factory: %i(cluster provided_by_gcp)
end
end
+
+ factory :clusters_applications_fluentd, class: 'Clusters::Applications::Fluentd' do
+ host { 'example.com' }
+ cluster factory: %i(cluster with_installed_helm provided_by_gcp)
+
+ trait :no_helm_installed do
+ cluster factory: %i(cluster provided_by_gcp)
+ end
+ end
end
end