proud-pizza-80589
10/11/2021, 4:52 PMbrave-nightfall-19158
10/11/2021, 5:46 PMproud-pizza-80589
10/11/2021, 7:32 PMthis.internalService = new k8s.core.v1.Service(
name,
{
metadata: {
labels: compileLabels(subject, SmartContractSet.name),
namespace: namespace.metadata.name,
},
spec: {
ports: [
{
port: 8080,
name: 'http',
protocol: 'TCP',
targetPort: 'http',
},
],
selector: compileSelectorLabels(subject),
type: 'ClusterIP',
},
},
{ parent: this, provider: opts.provider }
);