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

Generated operator deployment still tries to create the CRD

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Critical
    • 1.2.0
    • 1.2.0
    • operator
    • None

    Description

      In 1.2 we've changed the permissions required so that we do not need to have a clusterrole (which can create a CRD).

      To compensate for this we've added this step to the docs as a manual user step - https://docs-staging.couchbase.com/operator/1.2/install-kubernetes.html#install-the-crd.

      The problem is that the operator.yaml file that we generate still has the flag --create-crd set, so this means it will still try to create the CRD (which it has no permission to do).

      We need to remove this flag otherwise people won't be able to deploy the operator. Note that this does not involve a code change to the actual operator itself, just the deployment manifest file.

      Attachments

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

        Activity

          People

            tommie Tommie McAfee (Inactive)
            matt.carabine Matt Carabine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty