hashicorp / vault-secrets-operator

The Vault Secrets Operator (VSO) allows Pods to consume Vault secrets natively from Kubernetes Secrets.
https://hashicorp.com
Other
471 stars 102 forks source link

VC: update spec.timeout to be a string #906

Closed benashz closed 2 months ago

benashz commented 2 months ago

Previously, spec.timeout was a *metav1.Duration. This caused some challenges when creating/updating VaultConnection instances via VSO's API, when the value was 60s or greater the marshalled value would no longer be in valid duration notation and the API request would fail during field validation.