vault-secrets-operator icon indicating copy to clipboard operation
vault-secrets-operator copied to clipboard

kubectl get vaultdynamicsecret should show some status

Open TJM opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

When I am looking to see if a secret is properly populating I have to list, then describe the resource.

[tmcneely@local ~]$ k get vaultdynamicsecret -o wide
NAME                AGE
image-pull-secret   7m37s

Did it work? I can't tell from that.

Describe the solution you'd like

I would like to see a status column added, maybe a "last updated" ?

Describe alternatives you've considered

  • Looking at the events? (kubectl describe vaultDynamicSecret image-pull-secret) -- note these seem to be truncated log entries
  • Look at logs of VSO (this requires someone with access to that namespace)

Additional context

I am thinking maybe something somewhat similar to k get ingress or k get pvc... obviously, this would require there to be a status field added to the type?

TJM avatar Apr 10 '24 21:04 TJM

This is a duplicate of https://github.com/hashicorp/vault-secrets-operator/issues/538

ChristianCiach avatar Apr 30 '24 13:04 ChristianCiach