File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,17 @@ creates tokens for the [oc-gate](https://github.com/yaacov/oc-gate) service
12
12
Install using [ operator-sdk] ( https://sdk.operatorframework.io/docs/installation/ )
13
13
14
14
``` bash
15
- # Use default namespace
16
- oc project default
15
+ # Use oc-gate namespace
16
+ oc project oc-gate
17
17
18
- # Install
19
- operator-sdk run bundle quay.io/yaacov/oc-gate-operator-bundle:v0.0.1
18
+ # Add privileged security context to the user running the operator
19
+ oc adm policy add-scc-to-user privileged -z default -n oc-gate
20
+
21
+ # Add the private key secret used to generate tokens
22
+ oc create -n oc-gate-operator-system secret generic oc-gate-jwt-secret --from-file=test/cert.pem --from-file=test/key.pem
23
+
24
+ # Install the operator
25
+ operator-sdk run bundle quay.io/yaacov/oc-gate-operator-bundle:v0.0.1 -n oc-gate
20
26
21
27
# Un-Install
22
28
operator-sdk cleanup oc-gate-operator
You can’t perform that action at this time.
0 commit comments