Moving Kubelet Credential Provider test to common so that it can be run both as Node and Cluster test

Signed-off-by: Dixita Narang <ndixita@google.com>
This commit is contained in:
Dixita Narang 2023-04-22 06:41:36 +00:00
parent 7d24586663
commit 369e3faa4f

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
package e2enode package node
import ( import (
"context" "context"
@ -30,7 +30,7 @@ import (
admissionapi "k8s.io/pod-security-admission/api" admissionapi "k8s.io/pod-security-admission/api"
) )
var _ = SIGDescribe("ImageCredentialProvider", func() { var _ = SIGDescribe("ImageCredentialProvider [Feature:KubeletCredentialProviders]", func() {
f := framework.NewDefaultFramework("image-credential-provider") f := framework.NewDefaultFramework("image-credential-provider")
f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged
var podClient *e2epod.PodClient var podClient *e2epod.PodClient