Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

start on docs update for labels #7696

Closed
wants to merge 4 commits into from

Conversation

davidkarlsen
Copy link
Member

fixes #7550
This is not done - but a start to discuss and iterate on
/do-not-merge

NOTE!
The updated labels actually have mutable values - won't this be a problem when used with deployment api v1? As discussed in the meeting?

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidkarlsen

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@davidkarlsen
Copy link
Member Author

/do-not-merge

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 12, 2018
@davidkarlsen
Copy link
Member Author

/assign @mattfarina - care to comment?

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
@ey-bot ey-bot added the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Sep 12, 2018
@desaintmartin
Copy link
Collaborator

I've started #7692 as well, maybe we can do in common? I have to update it to state a few things.


**NOTE:**
*The guidelines for standard labels have changed, but due to labels being immutable, charts with the
legacy labels should continue to use the old label-style, while new charts should start using the updated labels.*
Copy link
Collaborator

@desaintmartin desaintmartin Sep 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, for charts still using extensions/v1beta1 or apps/v1beta1, it is not immutable so there is a opportunity for them to upgrade.

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
@cpanato
Copy link
Member

cpanato commented Sep 21, 2018

/hold

use hold to apply the do not merge label

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 21, 2018
@stale
Copy link

stale bot commented Oct 21, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 21, 2018
@stale
Copy link

stale bot commented Nov 4, 2018

This issue is being automatically closed due to inactivity.

@stale stale bot closed this Nov 4, 2018
@desaintmartin
Copy link
Collaborator

Should we reopen this and finish it?

@mattfarina mattfarina reopened this Nov 20, 2018
@helm-bot helm-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 20, 2018
@stale stale bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 20, 2018
@viglesiasce
Copy link
Contributor

This LGTM,

@davidkarlsen have you had a chance to test the mutating label issue?


**NOTE:**
*The guidelines for standard labels have changed, but due to labels being immutable when using apps/v1, charts with the
legacy labels should continue to use the old label-style, while new charts should start using the updated labels.*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want all charts to use new labels in the long term? If so it should be stated that it can be done along with another needed breaking change.

Copy link
Member

@scottrigby scottrigby Nov 21, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Matt's comment #9332 (review). The consensus in meetings so far has been that we shouldn't unnecessarily make breaking changes to charts, and updating to the new labels isn't a good enough reason. But if there are going to be significant enough breaking changes to a chart anyway, it could be a good time to update to the new labels in the same PR.

@davidkarlsen I just suggested a clarification in a PR on your fork against this PR's branch to : davidkarlsen#2 in case that helps 😄

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For quick ref, this is my suggestion in that PR:

*The guidelines for standard labels have changed, but due to labels being immutable when using apps/v1, charts with the The guidelines for standard labels have changed. However, since labels are immutable when using apps/v1, and the legacy labels still function, updating a chart from legacy to new labels would be an unnecessary breaking change. Therefore, charts with legacy labels should continue to use them until another breaking change pull request presents an opportunity to also update to the new label style in one MAJOR version bump.

WDYT?

… the new label style

Signed-off-by: Scott Rigby <scott@r6by.com>
PR wording change suggestion
@helm-bot helm-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 1, 2018
@k8s-ci-robot
Copy link
Contributor

@davidkarlsen: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-charts-e2e a029616 link /test pull-charts-e2e

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@stale
Copy link

stale bot commented Dec 31, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 31, 2018
@stale
Copy link

stale bot commented Jan 14, 2019

This issue is being automatically closed due to inactivity.

@stale stale bot closed this Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discrepancy in documentation of labels
9 participants