Due to the fragility and interdependencies between kubernetes packages, upgrades must be undertaken carefully.
- Upgrade controller-runtime
- Upgrade client-go to match a kubernetes version
- Upgrade/downgrade depdendencies that may have thrashed (typically, apimachinery)
go get -u sigs.k8s.io/[email protected]
go get -u k8s.io/[email protected]
go get -u k8s.io/[email protected]
- gnostic break at v0.4.1 is still a problem, but now half the ecosystem has fixed it. Full fix anticipated in 1.19.
- logr introduced a breaking change but is not systemically supported in controller-runtime until v0.7 / kube-1.19
go get sigs.k8s.io/[email protected]
go get k8s.io/[email protected]
go get github.com/googleapis/[email protected]
go get k8s.io/[email protected]
go get github.com/go-logr/[email protected]