We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b75c3f commit 20befa5Copy full SHA for 20befa5
pkg/lib/k8s/service.go
@@ -36,6 +36,7 @@ type ServiceSpec struct {
36
Name string
37
Port int32
38
TargetPort int32
39
+ ServiceType kcore.ServiceType
40
Selector map[string]string
41
Labels map[string]string
42
Annotations map[string]string
@@ -51,6 +52,7 @@ func Service(spec *ServiceSpec) *kcore.Service {
51
52
},
53
Spec: kcore.ServiceSpec{
54
Selector: spec.Selector,
55
+ Type: spec.ServiceType,
56
Ports: []kcore.ServicePort{
57
{
58
Protocol: kcore.ProtocolTCP,
0 commit comments