summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorddavison <ddavison@gitlab.com>2019-02-27 12:06:02 -0800
committerddavison <ddavison@gitlab.com>2019-02-27 12:06:02 -0800
commit91d29c5547161fcdeeab4e50adc1e0e0f07aa1de (patch)
tree327f531c66c92b2574f399bc9a42d40ae1431628 /qa
parent9985486e34f547323afb8577a24ac4949f2cafd3 (diff)
downloadgitlab-ce-91d29c5547161fcdeeab4e50adc1e0e0f07aa1de.tar.gz
Default rbac to true for the KubernetesCluster Service
Signed-off-by: ddavison <ddavison@gitlab.com>
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/service/kubernetes_cluster.rb2
-rw-r--r--qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/service/kubernetes_cluster.rb b/qa/qa/service/kubernetes_cluster.rb
index c5f12255d72..41ab702d8b2 100644
--- a/qa/qa/service/kubernetes_cluster.rb
+++ b/qa/qa/service/kubernetes_cluster.rb
@@ -9,7 +9,7 @@ module QA
attr_reader :api_url, :ca_certificate, :token, :rbac
- def initialize(rbac: false)
+ def initialize(rbac: true)
@rbac = rbac
end
diff --git a/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb b/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
index c0cac5508bd..2aa386f35ce 100644
--- a/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
+++ b/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
@@ -38,7 +38,7 @@ module QA
end
# Create and connect K8s cluster
- @cluster = Service::KubernetesCluster.new(rbac: true).create!
+ @cluster = Service::KubernetesCluster.new.create!
Resource::KubernetesCluster.fabricate! do |cluster|
cluster.project = @project
cluster.cluster = @cluster