Re: [kubernetes/kubernetes] Event recorder should enfoce API conventions for Event Reason (#14111)

1 view
Skip to first unread message

Michail Kargakis

unread,
Jun 9, 2017, 1:54:47 PM6/9/17
to kubernetes/kubernetes, k8s-mirror-api-machinery-misc, Team mention

@kubernetes/sig-api-machinery-misc


You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

fejta-bot

unread,
Dec 26, 2017, 3:22:20 PM12/26/17
to kubernetes/kubernetes, k8s-mirror-api-machinery-misc, Team mention

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

Brian Grant

unread,
Jan 22, 2018, 4:51:19 PM1/22/18
to kubernetes/kubernetes, k8s-mirror-api-machinery-misc, Team mention

cc @gmarek

Marek Grabowski

unread,
Jan 26, 2018, 10:11:13 AM1/26/18
to kubernetes/kubernetes, k8s-mirror-api-machinery-misc, Team mention

/remove-lifecycle state
/lifecycle frozen

Marek Grabowski

unread,
Jan 26, 2018, 10:17:17 AM1/26/18
to kubernetes/kubernetes, k8s-mirror-api-machinery-misc, Team mention

@yastij - I wrote a bunch of validation logic for Events v2 in the initial PR, but it may be worth revisiting to check if all fields are properly validated, according to kubernetes/community#1659.

Yassine TIJANI

unread,
Jan 26, 2018, 12:27:38 PM1/26/18
to kubernetes/kubernetes, k8s-mirror-api-machinery-misc, Team mention

@gmarek - I'll take a look

Nikhita Raghunath

unread,
Mar 4, 2018, 12:51:14 AM3/4/18
to kubernetes/kubernetes, k8s-mirror-api-machinery-misc, Team mention

/remove-lifecycle stale

Tim Bannister

unread,
Aug 17, 2023, 10:53:44 AM8/17/23
to kubernetes/kubernetes, k8s-mirror-api-machinery-misc, Team mention

Strengthening validation would be a breaking API change. As much as I'd like to enforce the conventions, this can't be the way to do it. Or maybe the check could be enabled only during tests.

Could we write a code validator instead?

It is also true that it seems hard to make the check stronger than just capitalization, but not capitalizing the first letter is one of the most common inconsistencies.

We now have warnings and a framework for instrumentation, so maybe there's something we can revisit here.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are on a team that was mentioned.Message ID: <kubernetes/kubernetes/issues/14111/1682428934@github.com>

Reply all
Reply to author
Forward
0 new messages