Declare an INLINE read-only fact: provide("k8sCtx", "kubectl config current-context").
The command MUST be provably read-only (compile rejects it otherwise — use
dangerously to acknowledge a side-effecting/undecidable one). Its stdout
is e.ctx[name].
Declare an INLINE read-only fact:
provide("k8sCtx", "kubectl config current-context"). The command MUST be provably read-only (compile rejects it otherwise — use dangerously to acknowledge a side-effecting/undecidable one). Its stdout ise.ctx[name].