Create a project for gitbucket
$ oc new-project gitbucket
Create build config
$ oc new-build redhat-openjdk18-openshift:1.5~https://github.com/kanekoh/gitbucket-s2i.git
Clone this git repository
$ git clone https://github.com/kanekoh/gitbucket-operator.git
$ cd gitbucket-operator
Create objects required using Operator by cluster-admin user.
$ oc create -f deploy/crds/gitbucket.example.io_gitbuckets_crd.yaml
$ oc create -f deploy/role.yaml
$ oc create -f deploy/service_account.yaml
$ oc create -f deploy/role_binding.yaml
$ oc create -f deploy/operator.yaml