calm-greece-42329
02/21/2019, 6:46 PMbrainy-magician-83981
02/21/2019, 6:50 PMcreamy-potato-29402
02/21/2019, 6:51 PM.metadata.ownerReference
will be set for supported versions of the API server.calm-greece-42329
02/21/2019, 6:51 PMcreamy-potato-29402
02/21/2019, 6:52 PMcalm-greece-42329
02/21/2019, 6:53 PMcreamy-potato-29402
02/21/2019, 6:55 PMcalm-greece-42329
02/21/2019, 6:55 PMcreamy-potato-29402
02/21/2019, 6:55 PMbreezy-hamburger-69619
02/21/2019, 6:55 PMbrainy-magician-83981
02/21/2019, 6:55 PMcreamy-potato-29402
02/21/2019, 6:56 PMcalm-greece-42329
02/21/2019, 6:57 PMcreamy-potato-29402
02/21/2019, 6:58 PMconst foo = new Deployment("...", { ... })
somehow you’d need to get foo.metadata.name
into the labels of the second argument, which is semantically strange, because foo.metadata.name
is basically a Promise<string>
that is computed after the resource has finished initializing.calm-greece-42329
02/21/2019, 6:59 PMcreamy-potato-29402
02/21/2019, 6:59 PMcalm-greece-42329
02/21/2019, 6:59 PMname: envoyConfigMap.id.apply(function(t) {
return t.split("/")[1];
})
brainy-magician-83981
02/21/2019, 6:59 PMcreamy-potato-29402
02/21/2019, 6:59 PM