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

Update dependencies and Kubernetes to 1.27.2 #532

Merged
merged 3 commits into from
May 24, 2023

Conversation

aryan9600
Copy link
Member

@aryan9600 aryan9600 commented May 23, 2023

Bumps:

  • github.com/fluxcd/pkg/apis/event => v0.5.0
  • github.com/fluxcd/pkg/apis/meta => v1.1.0
  • github.com/fluxcd/pkg/git => v0.12.1
  • github.com/fluxcd/pkg/runtime => v0.37.0
  • github.com/fluxcd/pkg/ssa => v0.28.0
  • github.com/getsentry/sentry-go => v0.21.0
  • github.com/ktrysmt/go-bitbucket => v0.9.58
  • github.com/onsi/gomega => v1.27.7
  • github.com/stretchr/testify => v1.8.3
  • golang.org/x/oauth2 => v0.8.0
  • k8s.io/api => v0.27.2
  • k8s.io/apimachinery => v0.27.2
  • k8s.io/client-go => v0.27.2
  • sigs.k8s.io/controller-runtime => v0.15.0

Changes made due to breaking changes in controller-runtime v0.15:

  • Watches requires a plain client.Object instead of a source.Kind object.
  • handler.MapFunc requires a Go context.
  • ctrl.Options.Namespace was moved to ctrlcache.Options.Namespaces.
  • ctrl.Options.ClientDisableCacheFor was moved to ctrlclient.CacheOptions.DisableFor.
  • ctrl.Options.Port has been deprecated and removed.
  • Use MaxConcurrentReconciles and RecoverPanic in config.Controller instead of controller.Options.

Bump controller-gen to v0.12.0

Part of: fluxcd/flux2#3907

* github.com/fluxcd/pkg/apis/meta => v1.1.0
* k8s.io/apimachinery => v0.27.2
* sigs.k8s.io/controller-runtime => v0.15.0-beta.0

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
@aryan9600 aryan9600 marked this pull request as draft May 23, 2023 07:41
@stefanprodan
Copy link
Member

You missed controller-gen, please see https://github.com/fluxcd/kustomize-controller/pull/850/files

@stefanprodan stefanprodan added the dependencies Pull requests that update a dependency label May 23, 2023
@aryan9600 aryan9600 marked this pull request as ready for review May 23, 2023 08:10
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
main.go Outdated Show resolved Hide resolved
main.go Show resolved Hide resolved
* github.com/fluxcd/pkg/apis/event => v0.5.0
* github.com/fluxcd/pkg/apis/meta => v1.1.0
* github.com/fluxcd/pkg/git => v0.12.1
* github.com/fluxcd/pkg/runtime => v0.37.0
* github.com/fluxcd/pkg/ssa => v0.28.0
* github.com/getsentry/sentry-go => v0.21.0
* github.com/ktrysmt/go-bitbucket => v0.9.58
* github.com/onsi/gomega => v1.27.7
* github.com/stretchr/testify => v1.8.3
* golang.org/x/oauth2 => v0.8.0
* k8s.io/api => v0.27.2
* k8s.io/apimachinery => v0.27.2
* k8s.io/client-go => v0.27.2
* sigs.k8s.io/controller-runtime => v0.15.0-beta.0

Changes made due to breaking changes in controller-runtime v0.15:

* Watches requires a plain `client.Object` instead of a `source.Kind` object.
* `handler.MapFunc` requires a Go context.
* `ctrl.Options.Namespace` was moved to `ctrlcache.Options.Namespaces`.
* `ctrl.Options.ClientDisableCacheFor` was moved to `ctrlclient.CacheOptions.DisableFor`.
* `ctrl.Options.Port` has been deprecated and removed.
* Use `MaxConcurrentReconciles` and `RecoverPanice` in `config.Controller` instead of `controller.Options`.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
@stefanprodan stefanprodan merged commit 52196f3 into fluxcd:main May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants