<p>I'm actually curious to know is there any way to get the user who created a specific object in kubernetes. I am using kubernetes <a href="https://github.com/kubernetes/client-go" rel="nofollow noreferrer">client-go</a> library.</p>
<p>from my understanding kubernetes object doesn't hold any user-meta information. So how should I approach this ?</p>

theshemul
<p>You can write a custom <a href="https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/" rel="nofollow noreferrer">admission webhook</a> which mutates the CRUD request for any object coming to kubernetes API server and add the user as a label to the object.This way you will always know who created the object by looking at that label. Also make sure to use validation admission webhook to reject any edit by the users to that label so that the information can not be changed or tampered.</p>
