func init() { … } // CheckRunAsNonRoot returns a restricted level check // that requires runAsNonRoot=true in 1.0+ func CheckRunAsNonRoot() Check { … } func runAsNonRoot_1_0(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … }
func init() { … } // CheckRunAsNonRoot returns a restricted level check // that requires runAsNonRoot=true in 1.0+ func CheckRunAsNonRoot() Check { … } func runAsNonRoot_1_0(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … }