-
Notifications
You must be signed in to change notification settings - Fork 25
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
NETOBSERV-1913 skip <br> when bundle #896
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -402,6 +402,7 @@ bundle: bundle-prepare ## Generate final bundle files. | |||
rm -r bundle/metadata | |||
cp ./config/csv/bases/netobserv-operator.clusterserviceversion.yaml tmp-csv | |||
hack/crd2csvSpecDesc.sh v1beta2 | |||
find ./config/crd -type f | xargs sed -i 's/<br>//g' |
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.
@jotak I feel that would be good enough as it's running only when bundle
target is called.
Let me know if there is any concern 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.
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.
oh ok! In that case we need to have two crds generated if we want to go that way 🙃
- one for the doc
- one for the bundle
We could have two targets in the Makefile or reuse CLEAN_BUILD param but it means the downstream pipeline will have to generate these unless we keep two version of CRDs upstream 🤔
WDYT ?
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.
Like I said in jira is it really worth it to change the build process for that, since we want to move away from the OLM form anyway, and have our own form? I don't think we should spend much time 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.
Even if you move away from the creation form, the YAML editor still display those descriptions.
Plus, most of the time, the editing is done outside of forms. That's why I wanted to see if we can find a quick solution here
@jpinsonneau: The following test failed, say
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-sigs/prow repository. I understand the commands that are listed here. |
Description
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.