Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Kubernetes to v0.19.8 and Service Binding operator to v0.4.1 #2076

Merged
merged 7 commits into from
Mar 1, 2021
Merged

Upgrade Kubernetes to v0.19.8 and Service Binding operator to v0.4.1 #2076

merged 7 commits into from
Mar 1, 2021

Conversation

astefanutti
Copy link
Member

@astefanutti astefanutti commented Mar 1, 2021

This PR:

  • Upgrades Kubernetes dependencies to v0.19.8
  • Upgrade Service Binding operator to v0.4.1
  • Removes the dependency on github.com/operator-framework/operator-lifecycle-manager

Fixes #2067 thanks to @akihikokuroda.

Release Note

Upgrade Kubernetes to v0.19.8
Upgrade Service Binding operator to v0.4.1

@astefanutti
Copy link
Member Author

I see some errors reported by the GC trait, e.g.:

{"level":"error","ts":1614609680.2096756,"logger":"camel-k.traits","msg":"cannot list child resources: cloudcredential.openshift.io/v1, Kind=CredentialsRequest","trait":"gc","api-version":"camel.apache.org/v1","kind":"Integration","ns":"camel-k","name":"routes-rest","error":"v1.ListOptions is not suitable for converting to \"cloudcredential.openshift.io/v1\" in scheme \"pkg/runtime/scheme.go:101\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tgithub.com/go-logr/zapr@v0.3.0/zapr.go:132\ngithub.com/apache/camel-k/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k/pkg/util/log/log.go:60\ngithub.com/apache/camel-k/pkg/trait.(*garbageCollectorTrait).deleteEachOf\n\tgithub.com/apache/camel-k/pkg/trait/gc.go:161\ngithub.com/apache/camel-k/pkg/trait.(*garbageCollectorTrait).garbageCollectResources\n\tgithub.com/apache/camel-k/pkg/trait/gc.go:144"}

I have to investigate.

@astefanutti
Copy link
Member Author

astefanutti commented Mar 1, 2021

This is caused by kubernetes-sigs/controller-runtime#1238.

I'll downgrade controller-runtime to 0.6.3, and handle the upgrade to 0.7.x in a separate PR.

Version 0.6.4 causes "v1.ListOptions is not suitable for converting to"
errors in the GC trait.
See: kubernetes-sigs/controller-runtime#1238
@astefanutti astefanutti merged commit 5c1e0fc into apache:master Mar 1, 2021
@astefanutti astefanutti deleted the pr-208 branch March 1, 2021 17:35
@nicolaferraro nicolaferraro mentioned this pull request Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bou.ke/monkey license
2 participants