func joinQuote(items []string) string { … } func pluralize(singular, plural string, count int) string { … } var relaxPolicyForUserNamespacePods … // RelaxPolicyForUserNamespacePods allows opting into relaxing runAsUser / // runAsNonRoot restricted policies for user namespace pods, before the // usernamespace feature has reached GA and propagated to the oldest supported // nodes. // This should only be opted into in clusters where the administrator ensures // all nodes in the cluster enable the user namespace feature. func RelaxPolicyForUserNamespacePods(relax bool) { … } // relaxPolicyForUserNamespacePod returns true if a policy should be relaxed // because of enabled user namespaces in the provided pod spec. func relaxPolicyForUserNamespacePod(podSpec *corev1.PodSpec) bool { … }