update HostAliases' json keys to be hostAlias instead of hostMapping

This commit is contained in:
Ricky Pai 2017-06-14 03:39:56 -07:00
parent d86c267112
commit 35f9a047f5

View File

@ -2519,7 +2519,7 @@ type PodSpec struct {
// +optional
// +patchMergeKey=IP
// +patchStrategy=merge
HostAliases []HostAlias `json:"hostMappings,omitempty" patchStrategy:"merge" patchMergeKey:"IP" protobuf:"bytes,23,rep,name=hostMappings"`
HostAliases []HostAlias `json:"hostAliases,omitempty" patchStrategy:"merge" patchMergeKey:"IP" protobuf:"bytes,23,rep,name=hostAliases"`
}
// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the