I want to get the last time a secret was modified via the kube api. I cannot seem to find a way to access this information. I had a look at events but I cannot find any for Secrets.
An example would be I create a secret called my-secret, I then update this the next day but I want to know what time it was updated and not the creation time.
Any help would be great thanks.