Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
e289a212
Unverified
Commit
e289a212
authored
Jun 28, 2021
by
Kubernetes Prow Robot
Committed by
GitHub
Jun 28, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #108 from larisoncarvalho/larisoncarvalho-patch-1
Update sed command for OpenShift in README.md
parents
5c0dd02d
f552bc6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
e289a212
...
@@ -58,7 +58,7 @@ On OpenShift the service account used to bind volumes does not have the necessar
...
@@ -58,7 +58,7 @@ On OpenShift the service account used to bind volumes does not have the necessar
```
sh
```
sh
# Set the subject of the RBAC objects to the current namespace where the provisioner is being deployed
# Set the subject of the RBAC objects to the current namespace where the provisioner is being deployed
$ NAMESPACE
=
`
oc project
-q
`
$ NAMESPACE
=
`
oc project
-q
`
$
sed
-i
''
"s/namespace:.*/namespace:
$NAMESPACE
/g"
./deploy/rbac.yaml
$
sed
-i
''
"s/namespace:.*/namespace:
$NAMESPACE
/g"
./deploy/rbac.yaml
./deploy/deployment.yaml
$
oc create
-f
deploy/rbac.yaml
$
oc create
-f
deploy/rbac.yaml
$
oc adm policy add-scc-to-user hostmount-anyuid system:serviceaccount:
$NAMESPACE
:nfs-client-provisioner
$
oc adm policy add-scc-to-user hostmount-anyuid system:serviceaccount:
$NAMESPACE
:nfs-client-provisioner
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment