Upgrade to Operator SDK 1.7.0
Have updated the SDK to 1.7.0. In addition, have included minor cache optimization for when multiple namespaces are watched from the docs.
- Upgrade PROJECT to stable
- Set controller-runtime to v0.7.2
- Add a system:controller-manager ServiceAccount to your project
- Add scheme, token, and TLS config to the Prometheus ServiceMonitor metrics endpoint
- Changed BUNDLE_IMG and added IMAGE_TAG_BASE Makefile variables
- Set the Makefile’s SHELL variable to the system’s bash binary
- Cache fix when watching multiple namespaces
See also: Upgrading SDK 1.5.0 See also: Upgrading SDK 1.6.1 See also: Upgrading SDK 1.7.0 See also: Multi-namespace Cache Builder
Noticed dependabot had bumped the client-go, controller-runtime versions and now wants to do golang as well. Bumping those may be okay, but could also cause issues.
As a separate PR, I'll look how to lock/ignore go, client-go, apimachinery and controller-runtime to the ones which come with the SDK version.
@linki I've added a couple commits here that will keep the dependabot from trying to bump SDK-specific libraries.
Also, I've got the current bumps all covered (which will make the other PRs queued up all auto-close)