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

Disregard casIndex or default to LATEST version in Vault

Open tho93 opened this issue 4 years ago • 1 comments

Is there a way to either omit the casIndex field or have it default to something like LATEST? I have run into situations where the version in Vault and the casIndex specified in the KMSVaultSecret CRD manifest are not in-sync, and the only way to resolve the issue is to bump the casIndex in git.

tho93 avatar Jan 21 '22 00:01 tho93

Hi! I hadn't ran into this use case because I mostly use K/V v1, but I ca take a look. There is some special logic around casIndex because the way K/V v2 and the nature of the controller are kind of in conflict, but maybe there is some corner case that I missed.

If you have any specific error messages, screenshots, steps to reproduce, etc., they'd be very helpful.

patoarvizu avatar Jan 21 '22 18:01 patoarvizu