haanhvu commented on PR #3185: URL: https://github.com/apache/camel-k/pull/3185#issuecomment-1120803951
> The Golang version we support is actually 1.16. As for the Custom Resource, probably it's because you still have some reference to the previous installation. Ideally you should delete all Custom Resources (ie, via `kamel uninstall --all -olm=false`). Later you need to use your local CLI to install the CRDs (ie, [this change you're adding in this PR](https://github.com/apache/camel-k/pull/3185/files#diff-d47e9df8f1b0746cce0eecbce7e96166f61204ebecf7b602c6395f82bb1f14cb)). You can do that running `./kamel install --skip-operator-setup --olm=false`. This command should set the new CRDs accordingly. I uninstalled camel-k. I knew it's uninstalled because when I checked with `kubectl -- api-resources`, no custom resources related to camel-k were there. Then I reinstalled with `./kamel install --skip-operator-setup --olm=false` as you said. Checked again with `kubectl -- api-resources` and camel-k custom resources appeared. However, the `settingsSecurity` was still not there: ``` $ 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 ``` I highly suspect this is a golang version problem again. Should I downgraded to go 1.16.x? I read in https://github.com/apache/camel-k/issues/3236 that some `make` commands may not work correctly with go 1.16.x -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org