fix container port to key by both port and protocol

pull/58/head
Daniel Smith 2018-10-19 13:52:25 -07:00
parent aae438e823
commit 5dc3b8e63b
1 changed files with 3 additions and 0 deletions

View File

@ -2060,6 +2060,9 @@ type Container struct {
// +optional
// +patchMergeKey=containerPort
// +patchStrategy=merge
// +listType=map
// +listMapKey=containerPort
// +listMapKey=protocol
Ports []ContainerPort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"containerPort" protobuf:"bytes,6,rep,name=ports"`
// List of sources to populate environment variables in the container.
// The keys defined within a source must be a C_IDENTIFIER. All invalid keys