You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we bump controller-gen to latest (v0.17.0) it doesn't panic in make k8s-manifests but complains about an invalid type in make k8s-generate:
make k8s-generate
controller-gen object:headerFile="deploy/boilerplate.go.txt" paths="./pkg/k8s/..."
github.com/aquasecurity/tracee/pkg/k8s/apis/tracee.aquasec.com/v1beta1:-: invalid type: interface{GetDefaultActions() []string; GetDescription() string; GetName() string; GetRules() []github.com/aquasecurity/tracee/pkg/k8s/apis/tracee.aquasec.com/v1beta1.Rule; GetScope() []string}
Error: not all generators ran successfully
run `controller-gen object:headerFile=deploy/boilerplate.go.txt paths=./pkg/k8s/... -w` to see all available markers, or `controller-gen object:headerFile=deploy/boilerplate.go.txt paths=./pkg/k8s/... -h` for usage
make: *** [Makefile:1049: k8s-generate] Error 1
This happens even when we checkout 01229cb which introduced the build process.
The text was updated successfully, but these errors were encountered:
Description
There's a panic on Tracee's k8s operator build process.
make k8s-manifests
outputs:Operator was introduced by: #3632
Output of
tracee version
:Additional details
If we bump controller-gen to latest (v0.17.0) it doesn't panic in
make k8s-manifests
but complains about an invalid type inmake k8s-generate
:This happens even when we checkout 01229cb which introduced the build process.
The text was updated successfully, but these errors were encountered: