mirror of https://github.com/k3s-io/k3s
podex: add build to travis
parent
8fdae1d884
commit
8f40d603f9
|
@ -11,6 +11,7 @@ install:
|
|||
- ./hack/verify-boilerplate.sh
|
||||
- ./hack/install-std-race.sh
|
||||
- ./hack/build-go.sh
|
||||
- go get ./contrib/podex
|
||||
|
||||
script:
|
||||
- KUBE_TIMEOUT='-timeout 60s' ./hack/test-go.sh
|
||||
|
|
|
@ -98,7 +98,7 @@ func main() {
|
|||
manifest.Containers[0].Ports = append(manifest.Containers[0].Ports, v1beta1.Port{
|
||||
Name: strings.Join([]string{baseName, p.Proto(), p.Port()}, "-"),
|
||||
ContainerPort: port,
|
||||
Protocol: strings.ToUpper(p.Proto()),
|
||||
Protocol: v1beta1.Protocol(strings.ToUpper(p.Proto())),
|
||||
})
|
||||
}
|
||||
if *generateJSON {
|
||||
|
|
Loading…
Reference in New Issue