Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
cb9d5f90
Commit
cb9d5f90
authored
Mar 16, 2018
by
Joe Mullally
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OpenShift install docs: Recommend "add-scc-to-user" over "edit scc"
parent
770ba383
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
doc/install/openshift_and_gitlab/index.md
doc/install/openshift_and_gitlab/index.md
+10
-1
No files found.
doc/install/openshift_and_gitlab/index.md
View file @
cb9d5f90
...
...
@@ -464,7 +464,9 @@ bother us. In any case, it is something to keep in mind when deploying GitLab
on a production cluster.
In order to deploy GitLab on a production cluster, you will need to assign the
GitLab service account to the
`anyuid`
Security Context.
GitLab service account to the
`anyuid`
[
Security Context Constraints
][
scc
]
.
For OpenShift v3.0, you will need to do this manually:
1.
Edit the Security Context:
```
sh
...
...
@@ -477,6 +479,12 @@ GitLab service account to the `anyuid` Security Context.
1.
Save and exit the editor
For OpenShift v3.1 and above, you can do:
```
sh
oc adm policy add-scc-to-user anyuid system:serviceaccount:gitlab:gitlab-ce-user
```
## Conclusion
By now, you should have an understanding of the basic OpenShift Origin concepts
...
...
@@ -513,3 +521,4 @@ PaaS and managing your applications with the ease of containers.
[
autoscaling
]:
https://docs.openshift.org/latest/dev_guide/pod_autoscaling.html
"Documentation - Autoscale"
[
basic-cli
]:
https://docs.openshift.org/latest/cli_reference/basic_cli_operations.html
"Documentation - Basic CLI operations"
[
openshift-docs
]:
https://docs.openshift.org
"OpenShift documentation"
[
scc
]:
https://docs.openshift.org/latest/admin_guide/manage_scc.html
"Documentation - Managing Security Context Constraints"
\ No newline at end of file
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