Skip to content
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
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ And then we give it all the needed rights:
```
[alex@freddy gogs-template]$ oadm policy add-scc-to-user privileged system:serviceaccount:gogs:gogs
```
Alternatively, when working with an OpenShift cluster (e.g. on minishift or with oc cluster), enter:
```
[alex@freddy gogs-template]$ oc adm policy add-scc-to-user privileged system:serviceaccount:gogs:gogs
```


At this point you have two option:
Expand All @@ -62,8 +66,8 @@ At this point you have two option:

We can now import the template we want to use:
```
[alex@freddy gogs-template]$ oc create -f gog-standalone-template.yml
template "gogs-mysql-template" created
[alex@freddy gogs-template]$ oc create -f gogs-standalone-template.yml
template "gogs-standalone-template" created
```
And then use it to create a new-app, please note how we actually override APPLICAITON_DOMAIN variable:
```
Expand Down