-
Notifications
You must be signed in to change notification settings - Fork 15
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
[WIP] chore: Align the CSV manifest under bundle/rhdh
with the one in .rhdh
and remove the latter [RHIDP-2387]
#617
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 |
a3a4dcd
to
5a541e2
Compare
Makefile
Outdated
@sed -i 's/-controller-manager/-operator/g' ./bundle/$(PROFILE)/manifests/*.yaml | ||
@sed -i 's/: controller-manager/: $(PROFILE_SHORT)-operator/g' ./bundle/$(PROFILE)/manifests/*.yaml | ||
@sed -i 's/backstage-operator/$(PROFILE_SHORT)-operator/g' ./bundle/$(PROFILE)/manifests/*.yaml | ||
@mv -f ./bundle/$(PROFILE)/manifests/backstage-operator.clusterserviceversion.yaml ./bundle/$(PROFILE)/manifests/$(PROFILE)-operator.clusterserviceversion.yaml |
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.
Is it really necessary to concatenate the file name with
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.
Sure, we can do that. No strong opinion. Let me look into that.
…the project version
… under .rhdh/manifests as much as possible
That is, RHDH 1.5.0 corresponds to the 0.5.0 version of this project
For now, the diff against the CSV under .rhdh is kept, but it should ultimately be dropped.
…layName}` fields in the RHDH CSV Ideally, this should be generated from the //+operator-sdk:csv:customresourcedefinitions marker comments (via the "$(OPERATOR_SDK) generate kustomize manifests" command), but it doesn't seem possible as our custom CSV file is supposed to contain a lot more data.
Co-authored-by: Gennady Azarenkov <[email protected]>
95fca4c
to
a92a26c
Compare
a92a26c
to
8997860
Compare
6e92c61
to
34d51a1
Compare
34d51a1
to
7fdcdd7
Compare
7fdcdd7
to
6cff745
Compare
It is PROJECT_NAME.VERSION by default, but for RHDH, it should be rhdh-operator.VERSION
Description
We had a bunch of CSVs related to RHDH, which could cause confusion. This PR makes the one under
bundle/rhdh
the source of truth (generated usingmake bundle
) and removes the one under.rhdh
.TODO: We need to update the downstream pipelines to use the CSV under
bundle/rhdh
.Which issue(s) does this PR fix or relate to
PR acceptance criteria
If the bundle manifests have been updated, make sure to review therhdh-operator.clusterserviceversion.yaml
file accordinglyHow to test changes / Special notes to the reviewer
TODO