Fix runner pod dnsConfig (#1227)

Fixes #1226
Fixes #1224

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek
2022-04-19 21:55:20 -04:00
committed by GitHub
parent cb4e1fa8f2
commit 13bfa2da4e
9 changed files with 157 additions and 167 deletions

View File

@@ -738,10 +738,8 @@ func (in *RunnerPodSpec) DeepCopyInto(out *RunnerPodSpec) {
}
if in.DnsConfig != nil {
in, out := &in.DnsConfig, &out.DnsConfig
*out = make([]v1.PodDNSConfig, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
*out = new(v1.PodDNSConfig)
(*in).DeepCopyInto(*out)
}
}