#!/bin/bash

echo "Creating router user"
echo \
    '{"kind":"ServiceAccount","apiVersion":"v1","metadata":{"name":"router"}}' \
    | oc create -f -

echo "Add router user"

oc patch scc privileged --type=json -p '[{"op": "add", "path": "/users/0", "value":"system:serviceaccount:default:router"}]'


Add prepare router script for all in one cluster
Add prepare router script for all in one cluster
