bored-furniture-11856
02/29/2020, 10:46 PMmetadata : {
annotations: {
<http://pulumi.com/autonamed|pulumi.com/autonamed>: "true"
}
labels : {
<http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: "pulumi"
}
name : "foo-api-2rwgcw01"
namespace : "backend"
}
Is there any way around that? Or is it a missing feature? Any chance to set the Service name to foo-api
? https://github.com/pulumi/pulumi-kubernetesx/blob/master/nodejs/kubernetesx/kx.ts#L260gorgeous-egg-16927
03/02/2020, 3:26 PMconst svc = new kx.Service("nginx", {
metadata: { name: "nginx" },
spec: {
ports: { http: 80 },
selector: deployment.spec.selector.matchLabels,
type: kx.types.ServiceType.LoadBalancer,
}
})