gifted-island-55702
01/04/2019, 2:58 PMcore.v1.ContainerPort
etc are not exported. Is there a change to change it? I would like to create my own ComponentResource
class that would compose multiple k8s resources as a single ’deployment unit` and I would like to accept input options like a list of core.v1.ContainerPort
or core.v1.EnvVar
to customise the pod spec that will be part of that deployment. Otherwise I will need to create my own types to cover that which will be unnecessary boilerplate 😞Map<string, number
(I would like to pass port name -> port number mapping that I could then use to generate an array of core.v1.ContainerPort instances 😞important-carpenter-15282
01/04/2019, 4:31 PMContainerPort
from a helper function and TypeScript will DTRT, but it'd be nicer to be able to strongly type everything.creamy-potato-29402
01/04/2019, 5:57 PMgifted-island-55702
01/04/2019, 5:59 PMcreamy-potato-29402
01/07/2019, 4:05 AMimport * as inputApi from "@pulumi/kubernetes/types/input"
gifted-island-55702
01/07/2019, 12:01 PM