observability-cli
observability-cli copied to clipboard
Generate Secrets with Kubernetes API
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.