- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for simulateOwnerRef (0.11 sec)
-
pkg/kube/inject/webhook_test.go
template.ObjectMeta = simulateOwnerRef(template.ObjectMeta, name, gvk) return &corev1.Pod{ ObjectMeta: template.ObjectMeta, Spec: template.Spec, } } switch o := obj.(type) { case *corev1.Pod: return o case *batchv1.CronJob: o.Spec.JobTemplate.Spec.Template.ObjectMeta = simulateOwnerRef(o.Spec.JobTemplate.Spec.Template.ObjectMeta, o.Name, gvk)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 39K bytes - Viewed (1)