Skip to content

Commit

Permalink
feat: improve pod template
Browse files Browse the repository at this point in the history
  • Loading branch information
jsenko committed Jun 6, 2023
1 parent 63cfac2 commit 51df7f1
Show file tree
Hide file tree
Showing 19 changed files with 4,679 additions and 1,930 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ manager: generate go-fmt go-vet ## Build manager binary
.PHONY: manifests
manifests: install-controller-gen install-kustomize install-yq ## Generate manifests e.g. CRD, RBAC etc.
$(CONTROLLER_GEN) rbac:roleName=apicurio-registry-operator-role crd paths="./..." output:crd:artifacts:config=config/crd/resources output:rbac:artifacts:config=config/rbac/resources
$(YQ) e "del(.. | select(has(\"podTemplateSpecPreview\")).podTemplateSpecPreview | .. | select(has(\"description\")).description)" -i "config/crd/resources/registry.apicur.io_apicurioregistries.yaml"
cd config/manager && $(KUSTOMIZE) edit set image REGISTRY_OPERATOR_IMAGE=$(OPERATOR_IMAGE)
$(YQ) e ".metadata.annotations.createdAt = \"$(DATE)\"" -i "config/manifests/resources/apicurio-registry-operator.clusterserviceversion.yaml"
$(YQ) e ".metadata.annotations.containerImage = \"$(OPERATOR_IMAGE)\"" -i "config/manifests/resources/apicurio-registry-operator.clusterserviceversion.yaml"
Expand Down
311 changes: 198 additions & 113 deletions api/v1/apicurioregistry_types.go

Large diffs are not rendered by default.

Loading

0 comments on commit 51df7f1

Please sign in to comment.