-
Notifications
You must be signed in to change notification settings - Fork 84
OADP-698, OADP-296 Get data mover image from manager env, migrate to RELATED_IMAGE_ #786
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
OADP-698, OADP-296 Get data mover image from manager env, migrate to RELATED_IMAGE_ #786
Conversation
Skipping CI for Draft Pull Request. |
dd73d61
to
9d76345
Compare
Codecov Report
@@ Coverage Diff @@
## master #786 +/- ##
==========================================
- Coverage 31.98% 31.82% -0.17%
==========================================
Files 16 16
Lines 3064 3067 +3
==========================================
- Hits 980 976 -4
- Misses 1993 2000 +7
Partials 91 91
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
b5e7bab
to
1282a95
Compare
LABEL operators.operatorframework.io.bundle.channels.v1=stable | ||
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable | ||
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.14.0 | ||
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.21.0 |
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.
label is updated here because RELATED_IMAGE_ discovery were a recent operator-sdk change.
This tell devs to bump their operator-sdk version if they encounter related images generation issues.
We would no longer encounter issue that is supposed to be fixed by operator-framework/operator-sdk#5765 after this change.
controllers/datamover.go
Outdated
if os.Getenv("RELATED_IMAGE_volume-snapshot-mover") == "" { | ||
return common.DataMoverImage | ||
} | ||
return os.Getenv("RELATED_IMAGE_volume-snapshot-mover") |
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 allows manager environment variable to override the image
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.
/lgtm
/retest |
1 similar comment
/retest |
/test all |
/retest |
@kaovilai: 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. |
OADP-698
OADP-296