cloudformation-operator icon indicating copy to clipboard operation
cloudformation-operator copied to clipboard

Upgrade to Operator SDK 1.7.0

Open cuppett opened this issue 4 years ago • 2 comments

Have updated the SDK to 1.7.0. In addition, have included minor cache optimization for when multiple namespaces are watched from the docs.

  1. Upgrade PROJECT to stable
  2. Set controller-runtime to v0.7.2
  3. Add a system:controller-manager ServiceAccount to your project
  4. Add scheme, token, and TLS config to the Prometheus ServiceMonitor metrics endpoint
  5. Changed BUNDLE_IMG and added IMAGE_TAG_BASE Makefile variables
  6. Set the Makefile’s SHELL variable to the system’s bash binary
  7. 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

cuppett avatar May 02 '21 14:05 cuppett

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.

cuppett avatar May 02 '21 15:05 cuppett

@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)

cuppett avatar May 02 '21 15:05 cuppett