-
Notifications
You must be signed in to change notification settings - Fork 194
Bump sigs.k8s.io/controller-tools from 0.8.0 to 0.9.2 in /hack/tools #2795
Bump sigs.k8s.io/controller-tools from 0.8.0 to 0.9.2 in /hack/tools #2795
Conversation
ccea32b
to
f85e8e4
Compare
f85e8e4
to
62f46c7
Compare
Codecov Report
@@ Coverage Diff @@
## main #2795 +/- ##
==========================================
- Coverage 44.22% 44.12% -0.11%
==========================================
Files 416 416
Lines 42143 42113 -30
==========================================
- Hits 18638 18582 -56
- Misses 21782 21805 +23
- Partials 1723 1726 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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!! Can you add a release note?
Why does this require a release note? We usually only have them for user facing changes. |
@@ -153,6 +153,18 @@ spec: | |||
description: Flag to enable/disable service external IP | |||
type: boolean | |||
type: object | |||
flowExporter: |
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.
Were the CRD's out of sync? cc @knabben
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.
Yep, it was.
@@ -106,6 +106,7 @@ spec: | |||
- kind | |||
- name | |||
type: object | |||
x-kubernetes-map-type: atomic |
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.
how does k8s api-machinery ensure that there are no concurrent modifications for map object?
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.
I think this is less to do with concurrent modifications and more to do with "merging" fields using server-side apply. atomic
means you are replacing the whole map instead of specific fields.
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.
Concurrency control is always enforced using resourceVersion comparison.
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.
I see, thanks for the info. Looks like atomic
will restrict other managers from updating fields. If the current default behavior is granular
I think we should keep that.
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.
Default is granular
, but these fields are specifically inheriting atomic
from corev1
structs they refer to.
VSphereCredentialLocalObjRef *v1.TypedLocalObjectReference `json:"vSphereCredentialLocalObjRef,omitempty"` |
@@ -230,9 +230,3 @@ spec: | |||
type: object | |||
served: true | |||
storage: true | |||
status: |
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.
no status anymore?
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.
More details in kubernetes-sigs/controller-tools#630. But looks like no status for CRD objects during generation (I think server will still write status field).
Bumps [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools) from 0.8.0 to 0.9.2. - [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases) - [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/master/RELEASE.md) - [Commits](kubernetes-sigs/controller-tools@v0.8.0...v0.9.2) --- updated-dependencies: - dependency-name: sigs.k8s.io/controller-tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Some fields defined as `interface{}` cause problems with controller-tools v0.9.2. This change removes kubebuilder markers so that controller-gen is not going to try to generate deepcopy functions for the data structures in this package.
v0.9.2 controller-gen removes status fields from CRD generation (for good reason). This is the output after running `make manifests`.
62f46c7
to
ce59d21
Compare
A newer version of sigs.k8s.io/controller-tools exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
Closing to let dependabot create a new PR with newer controller-tools version. |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
@dependabot recreate |
Looks like this PR is closed. If you re-open it I'll rebase it as long as no-one else has edited it (you can use |
@dependabot reopen |
(Again) |
Bumps sigs.k8s.io/controller-tools from 0.8.0 to 0.9.2.
Release notes
Sourced from sigs.k8s.io/controller-tools's releases.
Commits
0c985d9
Merge pull request #698 from chrischdi/pr-fix-XMapTypeFlatten-cp-0.9f50232a
Fix crd flattening for XMapType to not duplicate entriesc8fc4d4
Merge pull request #695 from k8s-infra-cherrypick-robot/cherry-pick-687-to-re...7c994fc
✨ crd/gen: sort FindKubeKinds (#694)cd25c0b
Simplify the LoadRootsWithConfig logic8d80422
Merge pull request #693 from k8s-infra-cherrypick-robot/cherry-pick-692-to-re...3fe0a0c
Make topology markers also valid for type definitions3c8b410
🐛 crdgen: compare metav1 pkg by ID (#686)a260f13
Merge pull request #595 from benpbrown/ben-2c9e425549bf
Merge pull request #669 from xrstf/bump-k8sDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)