Commit 1a3a2d47 authored by Slava Semushin's avatar Slava Semushin

admission_test.go: remove unused createNamespaceForTest() and createSAForTest() functions.

parent 1d8f1e26
...@@ -2057,23 +2057,6 @@ func permissivePSP() *extensions.PodSecurityPolicy { ...@@ -2057,23 +2057,6 @@ func permissivePSP() *extensions.PodSecurityPolicy {
} }
} }
func createNamespaceForTest() *kapi.Namespace {
return &kapi.Namespace{
ObjectMeta: metav1.ObjectMeta{
Name: "default",
},
}
}
func createSAForTest() *kapi.ServiceAccount {
return &kapi.ServiceAccount{
ObjectMeta: metav1.ObjectMeta{
Namespace: "default",
Name: "default",
},
}
}
// goodPod is empty and should not be used directly for testing since we're providing // goodPod is empty and should not be used directly for testing since we're providing
// two different PSPs. Since no values are specified it would be allowed to match any // two different PSPs. Since no values are specified it would be allowed to match any
// psp when defaults are filled in. // psp when defaults are filled in.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment