-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bump k8s dependencies to 1.21+ #5057
Bump k8s dependencies to 1.21+ #5057
Conversation
Signed-off-by: varshaprasad96 <[email protected]>
c33d6fe
to
cb08356
Compare
Signed-off-by: varshaprasad96 <[email protected]>
@@ -409,34 +409,6 @@ func TestReconcile(t *testing.T) { | |||
Namespace: "default", | |||
}, | |||
}, | |||
ExpectedObject: &unstructured.Unstructured{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is because of kubernetes-sigs/controller-runtime#1399. When the finalizer is successfully run and is removed, the fake client updates the object and immediately sends it for deletion.
@@ -175,15 +175,8 @@ var _ = Describe("LoggingEnqueueRequestForObject", func() { | |||
)) | |||
|
|||
// verify workqueue | |||
Expect(q.Len()).To(Equal(2)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is because of the deduplication of events before being sent into work queue.
ref: kubernetes-sigs/controller-runtime#1390
f2208a3
to
2ee0204
Compare
Signed-off-by: varshaprasad96 <[email protected]>
2ee0204
to
5dd1d91
Compare
Signed-off-by: varshaprasad96 <[email protected]>
815aeef
to
4b83e06
Compare
Signed-off-by: varshaprasad96 <[email protected]>
63a24e9
to
0ebec26
Compare
@@ -9,6 +9,7 @@ export IMAGE_VERSION = v1.9.0 | |||
export SIMPLE_VERSION = $(shell (test "$(shell git describe)" = "$(shell git describe --abbrev=0)" && echo $(shell git describe)) || echo $(shell git describe --abbrev=0)+git) | |||
export GIT_VERSION = $(shell git describe --dirty --tags --always) | |||
export GIT_COMMIT = $(shell git rev-parse HEAD) | |||
# TODO: bump this to 1.21, after kubectl `--generator` flag is removed from e2e tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leaving this for now, since --generator
flag is deprecated here and the test needs to be re-written, in sdk and kubebuilder. Will do this in a follow up PR, as I didn't want to block updating of k8s in projects because of this.
|
||
if urlPath != nil && urlPath.Path != "" { | ||
log.Error(fmt.Errorf("api endpoint '%s' contains a path component, which the proxy server is currently unable to handle properly. Work on this issue is being tracked here: https://github.com/operator-framework/operator-sdk/issues/4925", cfg.Host), "") | ||
if err := verifyCfgURL(cfg.Host); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactoring to reduce cyclomatic complexity and make linter happy.
Signed-off-by: varshaprasad96 <[email protected]>
0ebec26
to
8bf53fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one change then LGTM
internal/plugins/ansible/v1/scaffolds/internal/templates/molecule/mdefault/prepare.go
Show resolved
Hide resolved
409b2ba
to
39f2358
Compare
Signed-off-by: varshaprasad96 <[email protected]>
39f2358
to
9d86eb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Description of the change:
Bump k8s dependencies to 1.21+
Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments
(seechangelog/fragments/00-template.yaml
)website/content/en/docs