-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Set status explicitly in the kube tag #34
Conversation
Yeah, good plan. We probably need to do some changes afterwards as well to get the status object patched in (kubectl doesn't apply statuses - so currently no way to verify the instance you sent) |
main is updated if you want to update |
done :) |
Without this, the status data won't be accessible through the generated struct fixes kube-rs#4 Signed-off-by: Flavio Percoco <[email protected]>
); | ||
if scope == "Namespaced" { | ||
println!(r#"#[kube(namespaced)]"#); | ||
} | ||
|
||
if let Some(CustomResourceSubresources { status: Some(_), .. }) = version.subresources |
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.
ah that is a nice pattern match 👍
thanks a lot - tests are passing :-) |
Without this, the status data won't be accessible through the generated struct
fixes #4
Signed-off-by: Flavio Percoco [email protected]