cmd/k8s-operator,k8s-operator: proxyclass affinity (#11862)

add ability to set affinity rules to proxyclass

Updates#11861

Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
This commit is contained in:
Lee Briggs
2024-04-24 09:31:35 -07:00
committed by GitHub
parent 31e6bdbc82
commit 14ac41febc
8 changed files with 2420 additions and 1 deletions

View File

@ -195,6 +195,11 @@ func (in *Pod) DeepCopyInto(out *Pod) {
(*out)[key] = val
}
}
if in.Affinity != nil {
in, out := &in.Affinity, &out.Affinity
*out = new(v1.Affinity)
(*in).DeepCopyInto(*out)
}
if in.TailscaleContainer != nil {
in, out := &in.TailscaleContainer, &out.TailscaleContainer
*out = new(Container)