Skip to content

Commit

Permalink
Remove status field from base CRD (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas authored Oct 15, 2021
1 parent eef1422 commit 5db74d5
Show file tree
Hide file tree
Showing 2 changed files with 5,700 additions and 5,705 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ help: ## Display this help.

manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./api/v1beta1/..." output:crd:artifacts:config=config/crd/bases
# remove status field as they interfer with ArgoCD and Google config-sync
# https://github.com/kubernetes-sigs/controller-tools/issues/456
yq -i e 'del(.status)' config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml

generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./api/v1beta1/..."
Expand Down
Loading

0 comments on commit 5db74d5

Please sign in to comment.