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

CRD Established condition has null for lastTransitionTime #69654

Open
CaoShuFeng opened this Issue Oct 11, 2018 · 4 comments

Comments

Projects
None yet
5 participants
@CaoShuFeng
Member

CaoShuFeng commented Oct 11, 2018

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened: the lastTransitionTime for a CRDs Established condition is always null

What you expected to happen: it should have a timestamp

How to reproduce it (as minimally and precisely as possible): create a CRD and then examine its yaml/json. For example:

"status": {
                "acceptedNames": {
                    "kind": "Foo",
                    "listKind": "FooList",
                    "plural": "foos",
                    "singular": "foo"
                },
                "conditions": [
                    {
                        "lastTransitionTime": "2018-10-10T11:28:11Z",
                        "message": "no conflicts found",
                        "reason": "NoConflicts",
                        "status": "True",
                        "type": "NamesAccepted"
                    },
                    {
                        "lastTransitionTime": null,
                        "message": "the initial names have been accepted",
                        "reason": "InitialNamesAccepted",
                        "status": "True",
                        "type": "Established"
                    }
                ],
                "storedVersions": [
                    "v1alpha1"
                ]
            }

Anything else we need to know?:

Environment:
community master

@CaoShuFeng

This comment has been minimized.

Show comment
Hide comment
@CaoShuFeng

CaoShuFeng Oct 11, 2018

Member

/assign

Member

CaoShuFeng commented Oct 11, 2018

/assign

@CaoShuFeng

This comment has been minimized.

Show comment
Hide comment
@CaoShuFeng

CaoShuFeng Oct 11, 2018

Member

/area custom-resource

Member

CaoShuFeng commented Oct 11, 2018

/area custom-resource

@nikhita

This comment has been minimized.

Show comment
Hide comment
@nikhita

nikhita Oct 11, 2018

Member

/sig api-machinery
/area custom-resources

Member

nikhita commented Oct 11, 2018

/sig api-machinery
/area custom-resources

@jennybuckley

This comment has been minimized.

Show comment
Hide comment
@jennybuckley

jennybuckley Oct 11, 2018

Contributor

/assign @mbohlool

Contributor

jennybuckley commented Oct 11, 2018

/assign @mbohlool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment