Bump k8s dependencies to 1.21+#5057
Conversation
Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
c33d6fe to
cb08356
Compare
Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
| Namespace: "default", | ||
| }, | ||
| }, | ||
| ExpectedObject: &unstructured.Unstructured{ |
There was a problem hiding this comment.
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.
| )) | ||
|
|
||
| // verify workqueue | ||
| Expect(q.Len()).To(Equal(2)) |
There was a problem hiding this comment.
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 <varshaprasad96@gmail.com>
2ee0204 to
5dd1d91
Compare
Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
815aeef to
4b83e06
Compare
63a24e9 to
0ebec26
Compare
| 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.
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.
refactoring to reduce cyclomatic complexity and make linter happy.
Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
0ebec26 to
8bf53fb
Compare
409b2ba to
39f2358
Compare
Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
39f2358 to
9d86eb1
Compare
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