-
Notifications
You must be signed in to change notification settings - Fork 9
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
build: export ROOK_IMAGE env variable #598
Conversation
a9f64e2
to
39e7562
Compare
Update script to export ROOK_IMAGE env variable so that it can be updated with custom values during the build Signed-off-by: Nikhil-Ladha <[email protected]>
add generated changes for csv Signed-off-by: Nikhil-Ladha <[email protected]>
39e7562
to
1398c5a
Compare
/retest |
@@ -429,7 +429,7 @@ metadata: | |||
} | |||
] | |||
relatedImages: | |||
- image: docker.io/rook/ceph:master | |||
- image: rook/ceph:master |
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.
- image: rook/ceph:master | |
- image: rook/ceph:master |
it was copied from what ocs-operator had any issue with previously or it is just an improvement
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.
Just an improvement, technically all these updates were handled by the csv-merger tool in ocs-operator. But, here we are updating via sed
command so made it similar to the other image field used in deployement spec such that both the fields are updated during the csv-gen.
@@ -1863,7 +1863,7 @@ metadata: | |||
name: rook-ceph-operator.v4.15.0 | |||
namespace: placeholder | |||
relatedImages: | |||
- image: docker.io/rook/ceph:master | |||
- image: docker.io/rook/ceph:v1.13.0.399.g9c0d795e2 |
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.
- image: docker.io/rook/ceph:v1.13.0.399.g9c0d795e2 | |
- image: rook/ceph:v1.13.0.399.g9c0d795e2 |
seems like this also needs to be updated?
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.
This is the result of above update. This keeps the container image and relatedImages field same in the csv
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.
@Nikhil-Ladha I see this in related images image: rook/ceph:master
which is not same as above.
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.
Yeah, that's the placeholder.
The actual value is updated via the gen-csv
file. over here: https://github.com/red-hat-storage/rook/blob/master/build/csv/csv-gen.sh#L53
/hold |
/unhold |
Based on this comment #599 (comment) seems like we are good with the PR |
@sp98 can you please review this PR? |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Nikhil-Ladha, sp98, subhamkrai 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 |
Update script to export ROOK_IMAGE env variable so that it can be updated with custom values during the build
Checklist: