libopenstorage / secrets

Openstorage support for Key Management Systems
Apache License 2.0
16 stars 16 forks source link

k8s: fix GetSecret for non-existent secret, ErrInvalidSecretId #59

Closed baum closed 1 year ago

baum commented 2 years ago

What this PR does / why we need it:

k8s: fix GetSecret for non-existent secret, ErrInvalidSecretId

- GetSecret returns ErrInvalidSecretId, when secret not found.
- Fix k8s handling of k8s secret "not found" path

Which issue(s) this PR fixes (optional) Closes #

Special notes for your reviewer: