haanhvu commented on PR #3185: URL: https://github.com/apache/camel-k/pull/3185#issuecomment-1116677051
@squakez well, I fixed the problem with `make generate`. Turned out the problem is that `controller-gen` doesn't support go 1.18 yet, so I just needed to downgrade go version to 1.17.9... I ran `make generate`, then `make`, then `make build-kamel`, then `make install-minikube` (with no previous Camel K instance installed). However, `kubectl` still does not know about the new `settingsSecurity`: ``` $ minikube kubectl -- apply -f ip.yaml error: error validating "ip.yaml": error validating data: ValidationError(IntegrationPlatform.spec.build.maven): unknown field "settingsSecurity" in org.apache.camel.v1.IntegrationPlatform.spec.build.maven; if you choose to ignore these errors, turn validation off with --validate=false ``` In fact, when I look at the checks of `kubernetes / kubernetes-it (pull_request)` and `upgrade / upgrade (pull_request):`  Could this be why the API is not updated with the new `settingsSecurity`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
