Skip to content

Conversation

@benluddy
Copy link
Contributor

@benluddy benluddy commented May 26, 2022

With the latest controller-gen, leading and trailing whitespace is
stripped from the generated description text (kubernetes-sigs/controller-tools#517), and topology
markers (e.g. +structType, +mapType) are now being recognized when
applied to types as well as fields (kubernetes-sigs/controller-tools#692).

@openshift-ci openshift-ci bot requested review from bparees and coreydaley May 26, 2022 15:10
@benluddy
Copy link
Contributor Author

benluddy commented May 26, 2022

'_output/tools/bin/controller-gen-v0.9.0' schemapatch:manifests="./operatoringress/v1" paths="./operatoringress/v1" output:dir="/tmp/tmp.1Pbg8eLCZK"
Error: unable to parse option "output:dir=/tmp/tmp.1Pbg8eLCZK": ['P' exponent requires hexadecimal mantissa (at :1:9) exponent has no digits (at :1:9)]

https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_api/1203/pull-ci-openshift-api-master-verify/1529842193689219072#1:build-log.txt%3A109

openshift/build-machinery-go#67

/retest-required

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve
/label qe-approved
/label docs-approved
/label px-approved

@openshift-ci openshift-ci bot added qe-approved Signifies that QE has signed off on this PR docs-approved Signifies that Docs has signed off on this PR px-approved Signifies that Product Support has signed off on this PR labels Jul 5, 2022
@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 5, 2022
@soltysh
Copy link
Contributor

soltysh commented Jul 5, 2022

/test verify

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 2 against base HEAD 8324d65 and 8 for PR HEAD 4c8bf2e in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 1 against base HEAD 8324d65 and 7 for PR HEAD 4c8bf2e in total

@benluddy
Copy link
Contributor Author

benluddy commented Jul 5, 2022

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 5, 2022
@benluddy benluddy changed the title Bump controller-gen to v0.9.0. Bump controller-gen to v0.9.2. Jul 6, 2022
@benluddy benluddy force-pushed the controller-gen-v0-9-0 branch from 4c8bf2e to 173e285 Compare July 20, 2022 17:02
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2022
@benluddy
Copy link
Contributor Author

Need to understand the impact of this topology marker fix first (https://kubernetes.io/docs/reference/using-api/server-side-apply/#compatibility-across-topology-changes).

/hold

@JoelSpeed
Copy link
Contributor

@benluddy I was looking into making this bump as a part of some other changes I'm making, did you work out what the impact is likely to be of adding these markers?

IIUC all lists are atomic by default, so anyone using SSA who would observe a map type can't have been using it yet right? The entire list will currently have a single owner but may then in the future have multiple owners. That said, if the list is currently atomic, none of our consumers can have any logic assuming it is a map or otherwise so will end up preserving the entire list right now

Perhaps if we can enumerate the places this has changed we can determine how many consumers there are and where it is safe and where it is not safe to make the change

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 16, 2022
@benluddy benluddy force-pushed the controller-gen-v0-9-0 branch from 173e285 to a0b8971 Compare August 19, 2022 14:57
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 19, 2022
@JoelSpeed
Copy link
Contributor

I think this is ok. The markers only affect clients using SSA. We don't currently have generated SSA clients so it wouldn't be easy for any consumers of these types to be using SSA yet anyway. Add to that that the default list type behaviour is atomic, this shouldn't be a breaking change for any of these instances.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 23, 2022
@benluddy benluddy force-pushed the controller-gen-v0-9-0 branch from a0b8971 to 52df1c3 Compare September 6, 2022 14:46
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 6, 2022
@benluddy benluddy force-pushed the controller-gen-v0-9-0 branch from 52df1c3 to 9bcd547 Compare September 6, 2022 15:28
With the latest controller-gen, leading and trailing whitespace is
stripped from the generated description text, and topology
markers (e.g. +structType, +mapType) are now being recognized when
applied to types as well as fields.
@benluddy benluddy force-pushed the controller-gen-v0-9-0 branch from 9bcd547 to b630f11 Compare September 6, 2022 15:42
@deads2k
Copy link
Contributor

deads2k commented Sep 6, 2022

we need to sweep all slices before 4.12.

/approve
/assign @JoelSpeed

@benluddy
Copy link
Contributor Author

benluddy commented Sep 7, 2022

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 7, 2022
@JoelSpeed
Copy link
Contributor

/lgtm

We need the updated generator so that we can continue with the introduction of tech preview fields for openshift APIs

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 7, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: benluddy, deads2k, JoelSpeed, soltysh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 7, 2022

@benluddy: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 05347a4 into openshift:master Sep 7, 2022
Copy link
Contributor

@Miciah Miciah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve
/hold
for other reviewers.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 3, 2022
@Miciah
Copy link
Contributor

Miciah commented Oct 3, 2022

Sorry, wrong PR.
/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. docs-approved Signifies that Docs has signed off on this PR lgtm Indicates that a PR is ready to be merged. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants