bitter-dentist-28132
08/19/2019, 4:22 PMoutput<string>
, even though the namespace resource shows the actual stringbest-xylophone-83824
08/19/2019, 4:23 PMconst name = "x";
const ns = new k8s.Namespace(name)
const cfg = new k8s.Configmap("abc", { namespace: ns.name })
do
const name = "x";
const ns = new k8s.Namespace(name)
const cfg = new k8s.Configmap("abc", { namespace: name }, {dependsOn: [ns]})
bitter-dentist-28132
08/19/2019, 4:40 PMname
, it's e.g. name-tld6bkwm
best-xylophone-83824
08/19/2019, 4:41 PMnew k8s.Namespace(name, { name: name })
bitter-dentist-28132
08/19/2019, 4:43 PMgorgeous-egg-16927
08/19/2019, 4:43 PM.metadata.name
bitter-dentist-28132
08/19/2019, 4:44 PMoutput<string>
in the preview/diffbest-xylophone-83824
08/19/2019, 4:44 PMgorgeous-egg-16927
08/19/2019, 4:46 PMbitter-dentist-28132
08/19/2019, 4:47 PM{metadata: {name: name}}
since that's what's accepted by the type. which, interestingly, does then show the actual output in the diff, even when using namespaceResource.metadata.name