Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-884

Operator 1.1 on openshift is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Major
    • None
    • 1.1.0
    • openshift
    • None

    Description

      Summary: Cannot install operator 1.1 for openshift.

       

      Download the files for operator 1.1, follow the following steps

      oc create -f crd.yaml
      oc create -f cluster-role.yaml
      oc create serviceaccount couchbase-operator --namespace rd-k8s
      oc create rolebinding couchbase-operator --clusterrole couchbase-operator --serviceaccount rd-k8s:couchbase-operator
      oc adm policy add-scc-to-user anyuid system:serviceaccount:rd-k8s:couchbase-operator
      oc create secret docker-registry rh-catalog --docker-server=registry.connect.redhat.com --docker-username=ramdhakne --docker-password='xxxxxx' --docker-email='myemail@xxx.com'
      oc secrets add serviceaccount/couchbase-operator secrets/rh-catalog --for=pull
      oc secrets add serviceaccount/default secrets/rh-catalog --for=pull
      oc create -f operator.yaml

      operator does not come up, and gives error

      time="2019-03-09T20:56:32Z" level=error msg="Initialization failed: fail to create CRD: customresourcedefinitions.apiextensions.k8s.io is forbidden: User \"system:serviceaccount:default:couchbase-operator\" cannot create customresourcedefinitions.apiextensions.k8s.io at the cluster scope: no RBAC policy matched" module=controller

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ram.dhakne Ram Dhakne (Inactive)
            ram.dhakne Ram Dhakne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty