-
Notifications
You must be signed in to change notification settings - Fork 67
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
STOR-1462: CRD manifests should be generated automatically #433
Conversation
@dobsonj: This pull request references STOR-1462 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dobsonj 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 |
|
a0d710d
to
ba9ae93
Compare
Last commit ("replace hack/sync_bundle, fix make bundle, remove dead dockerfiles") would collide with Roman's #410. @RomanBednar , you re-wokred sync_bundle long time ago (in June?). Jonathan's bash script ("create-bundle") looks more readable than go version (for my eyes). Do you have any preferences? (maybe your go prog does something important that bash script misses?) |
Side note for reviewers: the first commit ("STOR-1462: CRD manifests should be generated automatically") modifies four yaml-s in |
@dobsonj: This pull request references STOR-1462 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
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. |
1 similar comment
@dobsonj: This pull request references STOR-1462 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
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. |
@dobsonj: This pull request references STOR-1462 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
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. |
@dobsonj: This pull request references STOR-1462 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
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 just pushed several new commits and updated the PR description, but I think I'm done updating this now (aside from addressing review comments). I'm partial to the
|
@dobsonj: This pull request references STOR-1462 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
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. |
@dobsonj: This pull request references STOR-1462 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
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. |
See also this comment: #435 (comment) |
/test e2e-operator-extended |
d3a3ad9
to
242f96f
Compare
latest push is just a rebase after #430 merged |
/retest-required |
2 similar comments
/retest-required |
/retest-required |
@mpatlasov That is correct, thanks for pointing that out. Both scripts are essentially the same, the aim is to replace the error prone script that we had. There are a few differences:
Bash is way more readable and consistent with other repos, so we can stick with that (maybe with some small improvements). |
29f3006
to
6557c4b
Compare
@dobsonj , the commit The same question is about next commit -- |
@dobsonj , why are we interested in BSD at all? ( |
Minor nit: last commit ( |
34e906c
to
6cc3278
Compare
6cc3278
to
4935942
Compare
I compared the yamls only with my eyes and otherwise relied on testing. There are a lot of formatting differences, but I did not identify any functional differences.
The kustomize patches were mostly boilerplate manifests generated by operator-sdk, and they were never used to generate the manifests that get deployed as part of the bundle. I grepped for each filename to find any existing references in the repo, and also looked for these objects on a cluster with LSO deployed. If they are not referenced by any code, makefile targets, or docs and they are not deployed on the cluster and they do not have a clearly defined purpose, then there isn't much reason to keep them.
We're not interested in BSD per se, but this commit was to fix the issue Roman pointed out when running create-bundle.sh on MacOS (which uses the BSD version of sed). I squashed that commit though in my latest push, so it's part of the create-bundle commit now.
Fixed, I squashed related commits. @mpatlasov @RomanBednar thanks very much for the reviews, I think I addressed outstanding comments. |
/lgtm I've retested mainly the |
no end-user impact or doc changes |
Go through the commits, looks good. Also CI results looks good. |
@dobsonj: This pull request references STOR-1462 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
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. |
@dobsonj: 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. |
[ART PR BUILD NOTIFIER] This PR has been included in build local-storage-operator-container-v4.15.0-202311130831.p0.g39fe975.assembly.stream for distgit local-storage-operator. |
https://issues.redhat.com/browse/STOR-1462
I did quite a lot of cleanup work in this PR outside the scope of the original ticket. It's best to review the commits individually. I left them separate to make reviews easier, and I can split some of these changes out if needed.
The intent overall is to make it easier to contribute to LSO and remove artifacts that are not needed for building, developing, or testing LSO.
Some overall themes:
make bundle REGISTRY=quay.io/username
and that's it. See HACKING.md for more details.make update
. The generated CRD's are included in the bundle. The generated RBAC rules are incomplete, so the manifests in config/rbac are there for reference only right now. We should do some follow-up work on this in another PR.make verify
ensures we don't forget to runmake update
-- I'll add a verify presubmit job after this PR merges. I fixed up all verify errors so it runs cleanly.cc @openshift/storage