Skip to content

Commit

Permalink
Declare TCP default for service port protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt authored and kevindelgado committed Mar 31, 2021
1 parent bb59042 commit c85828a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/apis/core/v1/zz_generated.defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions staging/src/k8s.io/api/core/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions staging/src/k8s.io/api/core/v1/types.go
Expand Up @@ -4264,6 +4264,7 @@ type ServicePort struct {

// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP".
// Default is TCP.
// +default="TCP"
// +optional
Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,2,opt,name=protocol,casttype=Protocol"`

Expand Down

0 comments on commit c85828a

Please sign in to comment.