Skip to content

Add commands to modify Openshift secure contexts #250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions documentation/modules/ROOT/pages/1setup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,14 @@ kubectl config set-context $(kubectl config current-context) --namespace=istio-s

IMPORTANT: `istio-demo.yaml` enables policy enforcement by default which is required in some sections of the tutorial. Please refer to https://istio.io/docs/tasks/policy-enforcement/enabling-policy/ if you are not using this file.

If using OpenShift, modify security contexts to ensure that all pods start properly.

[.console-input]
[source,bash,subs="attributes+,+macros"]
---
oc adm policy add-scc-to-group anyuid system:serviceaccounts:istio-system
---

Wait for Istio's components to be ready

[.console-input]
Expand Down Expand Up @@ -149,7 +157,19 @@ Istio is supported in OpenShift by Red Hat OpenShift Service Mesh operator.

To install it, you need to follow the instructions written in: https://docs.openshift.com/container-platform/4.3/service_mesh/service_mesh_install/preparing-ossm-installation.html

It is important that after you finish with the installation, all the required pods are delpyed in `istio-system` namespace:
--
Minishift::
+
---
Modify security contexts to ensure that all pods start properly.

[.console-input]
[source,bash,subs="attributes+,+macros"]
----
oc adm policy add-scc-to-group anyuid system:serviceaccounts:istio-system
----

It is important that after you finish with the installation, all the required pods are deployed in `istio-system` namespace:

[.console-input]
[source,bash,subs="attributes+,+macros"]
Expand All @@ -175,4 +195,4 @@ kiali-78d9c5b87c-snjzh 0/1 Running 0 2
prometheus-6dff867c97-gr2n5 2/2 Running 0 28h
----
--
====
====