mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
fix patchMergyKey to ip instead of IP
This commit is contained in:
parent
35f9a047f5
commit
62c7e4df69
@ -2517,9 +2517,9 @@ type PodSpec struct {
|
|||||||
// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
|
// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
|
||||||
// file if specified. This is only valid for non-hostNetwork pods.
|
// file if specified. This is only valid for non-hostNetwork pods.
|
||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=IP
|
// +patchMergeKey=ip
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
HostAliases []HostAlias `json:"hostAliases,omitempty" patchStrategy:"merge" patchMergeKey:"IP" protobuf:"bytes,23,rep,name=hostAliases"`
|
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