Skip to content

KubeAPIWarningLogger unknown field "xxxx.creationTimestamp" #2956

Open
@Jeffwan

Description

@Jeffwan

image

When I create an object, I notice it surface some KubeAPIWarningLogger messages, seems it doesn't affect anything but it's annoying. This should be something common to other cases, anyone have clues?

  1. I double checked the objects I created, it doesn't have creationTimestamp there
  2. I didn't use // +kubebuilder:pruning:PreserveUnknownFields yet.
./bin/controller-gen-v0.14.0 --version
Version: v0.14.0
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions