Also update CRI to indicate runtimes should not update empty CIDR

This commit is contained in:
Pengfei Ni 2018-04-27 11:14:43 +08:00
parent 335d70a6d1
commit 91c6cfed2f
2 changed files with 4 additions and 2 deletions

View File

@ -3052,7 +3052,8 @@ func (*RemoveImageResponse) ProtoMessage() {}
func (*RemoveImageResponse) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{76} }
type NetworkConfig struct {
// CIDR to use for pod IP addresses.
// CIDR to use for pod IP addresses. If the CIDR is empty, runtimes
// should omit it.
PodCidr string `protobuf:"bytes,1,opt,name=pod_cidr,json=podCidr,proto3" json:"pod_cidr,omitempty"`
}

View File

@ -1047,7 +1047,8 @@ message RemoveImageRequest {
message RemoveImageResponse {}
message NetworkConfig {
// CIDR to use for pod IP addresses.
// CIDR to use for pod IP addresses. If the CIDR is empty, runtimes
// should omit it.
string pod_cidr = 1;
}