Is it possible to obtain the value of an externall...
# kubernetes
a
Is it possible to obtain the value of an externally-managed
Secret
resource, to be used as a
pulumi.Input<>
in my program? (without using stack references)
g
a
Unrelated: the doc says that
default
namespace would be used by default “per Kubernetes convention”. Wouldn’t the convention be to use the namespace associated with the ambiant provider kubecontext?
g
Hmm, you’re probably right. I assume you mean if the kubeconfig
context
has a different namespace set?
a
yes.
If that’s the actual behavior, it is good and it is a simple doc error. If
default
is blessed, that would seem like a mistake in my mind.
g
I’m not sure if we handle that in the provider. Let me check
Nope, it looks like it’s ignoring the current-context namespace
I’ll open an issue to track
a
Thanks for taking a look.
đź‘Ť 1
g