mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
update HostAliases' json keys to be hostAlias instead of hostMapping
This commit is contained in:
parent
d86c267112
commit
35f9a047f5
@ -2519,7 +2519,7 @@ type PodSpec struct {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=IP
|
// +patchMergeKey=IP
|
||||||
// +patchStrategy=merge
|
// +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
|
// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the
|
||||||
|
Loading…
Reference in New Issue
Block a user