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
functionConfig validation for eval
and render
#2133
Conversation
metadata.name
field in functionConfigs
082fbc7
to
6eb82e6
Compare
332747a
to
7fba3c8
Compare
Please update the PR to cover #1959 |
7fba3c8
to
04ca55f
Compare
metadata.name
field in functionConfigsmetadata.name
field in functionConfigs and share functionConfig check between eval
and render
metadata.name
field in functionConfigs and share functionConfig check between eval
and render
eval
and render
c19edd0
to
7454436
Compare
7454436
to
cd0703c
Compare
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.
Suggestions around error messaging.
@Shell32-Natsu please take a look when you can, thanks! |
# limitations under the License. | ||
|
||
testType: eval | ||
image: gcr.io/kpt-fn/set-namespace:v0.1 |
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.
Please don't use non-concrete tag like unstable
or v0.1
if it's possible. Use full version v0.1.x
in kpt e2e test. So we will not suffer from break changes in function.
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.
@mengqiy Why are we overwriting 0.1
tags? That may have been OK earlier, but going forward 0.1
should not be treated special (otherwise what's the difference between unstable
and v0.1
?), and the versioning scheme should apply to it. Using 0.1
should be fine in order to pick up patch releases if needed.
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.
We had an issue about breaking change in v0.1
in past a few weeks. 0.1
should be stable but for kpt e2e test I think we should pin to a specific version of function.
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.
We should dogfood the versioning scheme we're promising our users. If we're telling them v0.1
is floating to pick up only patches, then we want to feel the pain if it breaks. Otherwise, our e2e is stable, but the user's workflow are broken. Which is worse?
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.
That makes sense.
fixes #1959, #2105