From 3ac9b6c06a244992a1aa383b57d90161cf57acbe Mon Sep 17 00:00:00 2001 From: doodlesbykumbi Date: Thu, 5 Apr 2018 01:38:58 +0100 Subject: [PATCH] fix: project for openshift installation --- site/installing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/installing.md b/site/installing.md index f3bcdde390..9b4c47678d 100644 --- a/site/installing.md +++ b/site/installing.md @@ -176,7 +176,7 @@ To install Weave Scope on OpenShift, you first need to login as `system:admin` u Next, create a dedicated project for Weave Scope then apply policy changes needed to run Weave Scope: - oc new-project weave-scope + oc new-project weave # Scope probe pods need full access to Kubernetes API via 'weave-scope' service account oc adm policy add-cluster-role-to-user cluster-admin -z weave-scope # Scope probe pods also need to run as priviliaged containers, so grant 'priviliged' Security Context Constrains (SCC) for 'weave-scope' service account @@ -185,7 +185,7 @@ Next, create a dedicated project for Weave Scope then apply policy changes neede oc adm policy add-scc-to-user anyuid -z default The installation method for Scope on OpenShift is very similar to the one described [above](#k8s) for Kubernetes, but instead of `kubectl apply ...` you need to use -`oc apply ...` and install it into the namespace of the `weave-scope` project you have just created, and not the `weave` namespace, i.e.: +`oc apply ...` and install it into the namespace of the `weave` project you have just created, and not the `weave` namespace, i.e.: oc apply -f 'https://cloud.weave.works/k8s/scope.yaml'