-
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
feat: rework the operator for wasmCloud 1.0 compatibility #18
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF ScorecardScorecard details
Scanned Manifest FilesCargo.lock
|
71347df
to
790334d
Compare
src/services.rs
Outdated
should_create_service = true; | ||
for p in props.source_config.iter() { | ||
if let Some(config_props) = &p.properties { | ||
if let Some(addr) = config_props.get("ADDRESS") { |
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.
I'm curious why is the ADDRESS capitalized here? Looking at the provider code it didn't seem like that defines it as capitalized, but all lowercase, am I missing some conversion logic that happens in between?
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.
For whatever reason the wadm file I was working off of was in all caps and I wasn't sure why. I'll fix it so that is uses the correct case as outlined in the provider docs.
764e881
to
d23227f
Compare
wasmCloud 1.0 fully converts over to using components among other large changes, so we need to rework the operator to account for it. 1.0 is still in the works, so this updates the operator to depend on wasmCloud 1.0 libraries along with refactoring the service creation code to use the updated application manifest format. Once this is in we will likely cut a 0.2.0 pre-release and wait for an actual release until wasmCloud 1.0.0 and wadm 0.11 are out. This also adds a new field to the CRD so that you can specify the full image reference instead of just the version. The `image` parameter takes precedence. Signed-off-by: Dan Norris <protochron@users.noreply.github.com>
Feature or Problem
wasmCloud 1.0 fully converts over to using components among other large changes, so we need to rework the operator to account for it. 1.0 is still in the works, so this updates the operator to depend on wasmCloud 1.0 libraries along with refactoring the service creation code to use the updated application manifest format.
Once this is in we will likely cut a 0.2.0 pre-release and wait for an actual release until wasmCloud 1.0.0 and wadm 0.11 are out.
This also adds a new field to the CRD so that you can specify the full image reference instead of just the version. The
image
parameter takes precedence.Related Issues
Release Information
0.2.0
Consumer Impact
Testing
Unit Test(s)
Acceptance or Integration
Manual Verification