From 9619c7c03860c934949b49d5bf18b7e1a1eb2c4c Mon Sep 17 00:00:00 2001 From: Vitalii Cherkashyn Date: Wed, 26 Oct 2022 10:57:03 +0200 Subject: [PATCH] project name --- openshift.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openshift.md b/openshift.md index 1d1ec35b..e1c67be7 100755 --- a/openshift.md +++ b/openshift.md @@ -475,7 +475,8 @@ oc autoscale dc/{app-name} --min 1 --max 5 --cpu-percent=40 ### connect to existing pod in debug mode, debug pod ```bash # check policy -# oc adm policy add-scc-to-user mapr-apps-scc system:serviceaccount:my-project-name:default +# oc adm policy add-scc-to-user mapr-apps-scc system:serviceaccount:${PROJECT_NAME}:default +# oc adm policy add-role-to-user admin ${USER_NAME} -n ${PROJECT_NAME} oc debug pods/{name of the pod} oc debug dc/my-dc-config --as-root --namespace my-project