https://pulumi.com logo
#kubernetes
Title
# kubernetes
a

able-crayon-21563

01/29/2020, 9:37 PM
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

gorgeous-egg-16927

01/29/2020, 10:24 PM
a

able-crayon-21563

01/29/2020, 10:27 PM
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

gorgeous-egg-16927

01/29/2020, 10:30 PM
Hmm, you’re probably right. I assume you mean if the kubeconfig
context
has a different namespace set?
a

able-crayon-21563

01/29/2020, 10:30 PM
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

gorgeous-egg-16927

01/29/2020, 10:31 PM
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

able-crayon-21563

01/29/2020, 10:37 PM
Thanks for taking a look.
👍 1
g

gorgeous-egg-16927

01/29/2020, 10:46 PM
6 Views