Skip to content

Commit

Permalink
fix: topology crd for forEach & upgrade controller-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe authored and moshloop committed Mar 7, 2024
1 parent 6437580 commit aa7000a
Show file tree
Hide file tree
Showing 6 changed files with 264 additions and 80 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ ginkgo:
go install github.com/onsi/ginkgo/v2/ginkgo

.bin/controller-gen: .bin
GOBIN=$(PWD)/.bin go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.11.1
GOBIN=$(PWD)/.bin go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0
CONTROLLER_GEN=$(GOBIN)/controller-gen

.bin/yq: .bin
Expand Down
1 change: 0 additions & 1 deletion api/external/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/v1/component_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ type ComponentSpec struct {
Configs types.ConfigQueries `json:"configs,omitempty"`
//
Summary *types.Summary `json:"summary,omitempty"`
// +kubebuilder:validation:XPreserveUnknownFields
// Only applies when using lookup, when specified the components and properties
// specified under ForEach will be templated using the components returned by the lookup
// ${.properties} can be used to reference the properties of the component
Expand Down
4 changes: 2 additions & 2 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa7000a

Please sign in to comment.