Skip to content

Refactor CRD bootstrapping

Hossein Pursultani requested to merge 1600-split-crd into master

The CRD lifecycle management is moved out of the Chart. crdctl utility is introduced to take over this responsibility. CRD bootstraping with the Chart is now deprecated and global.operator.bootstrap value is no longer valid.

To use the Operator, the user must use crdctl utility first to create GitLab kind prior installing the Chart. The way that the Operator can be enabled hasn't been changed.

About crdctl

This script manages the lifecycle of GitLab CRD.

USAGE: crdctl ACTION [PREFIX]

  ACTION        `create` or `delete` the CRD.
  PREFIX        An optional prefix for CRD group name. It can be used to
                distinguish different CRDs in a cluster.

NOTE:
  This script requires kubectl. For versions prior to v1.14 you also need
  kustomize. To use an external kustomize set `KUSTOMIZE_CMD` environment
  variable, e.g. `KUSTOMIZE_CMD="kustomize build"`.

Closes #1600 (closed)

Edited by Hossein Pursultani

Merge request reports