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 to Operator SDK 1.7.0 #198

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Upgrade to Operator SDK 1.7.0 #198

wants to merge 5 commits into from

Conversation

cuppett
Copy link
Contributor

@cuppett cuppett commented May 2, 2021

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 added 2 commits May 2, 2021 10:36
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

See also: https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.5.0/
See also: https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.6.1/
See also: https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.7.0/

Signed-off-by: Stephen Cuppett <[email protected]>
@cuppett
Copy link
Contributor Author

cuppett commented May 2, 2021

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.

dependabot bot and others added 2 commits May 2, 2021 11:57
Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: Stephen Cuppett <[email protected]>
@cuppett
Copy link
Contributor Author

cuppett commented May 2, 2021

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

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.

1 participant