observability-cli icon indicating copy to clipboard operation
observability-cli copied to clipboard

Generate Secrets with Kubernetes API

Open versilis opened this issue 2 years ago • 0 comments

This addresses a code review suggestion to use the Kubernetes API for generation of secret files when using akita kube secret.

Unfortunately, Kubernetes' current Go API contains an ObjectMeta model that is in misalignment with Kubernetes' open api spec. As a workaround, I've added logic to manually fix the incorrect field (CreationTimestamp) after serialization.

versilis avatar Mar 21 '23 15:03 versilis