-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add Labels to Metadata #6782
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
Add Labels to Metadata #6782
Conversation
Codecov Report
@@ Coverage Diff @@
## main #6782 +/- ##
==========================================
- Coverage 70.48% 69.39% -1.10%
==========================================
Files 515 540 +25
Lines 23150 24596 +1446
==========================================
+ Hits 16317 17068 +751
- Misses 5776 6396 +620
- Partials 1057 1132 +75
Continue to review full report at Codecov.
|
Looks like the linter is failing because I updated v2beta24
I would expect this to be a backwards compatible change since its purely additive. What would be the correct way to introduce this change? Should I create a new version? |
@jlewi thanks for the submission here. Yes, creating a new schema version would be the correct thing to do in this case |
As a rule, we don't make changes to previously published schema versions. |
Apologies; I should have checked the development guide first. Might take me a couple days to follow up on this. Feel free to mark this PR as draft or wip. |
* Add labels to metadata so that skaffold files can have labels identifying the config. * Using labels is useful for being able to match skaffold files. * Concretely, we want to use labels to identify the different environments corresponding to a skaffold file (e.g. dev/prod etc...). These labels our used by our CD tooling to identify the skaffold files which need to be built.
This updated. PTAL. |
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. Thanks adding this
fixes: #7425
Description
Add labels to metadata so that skaffold files can have labels identifying
the config.
Using labels is useful for being able to match skaffold files.
Concretely, we want to use labels to identify the different environments
corresponding to a skaffold file (e.g. dev/prod etc...). These labels
our used by our CD tooling to identify the skaffold files which need to
be built.
User facing changes (remove if N/A)
After this change users can include labels in their skaffold.yaml files; e.g.