WIP Remove nginx unix sockets (#4531)

* Remove nginx unix sockets
* Use an emptyDir volume for /tmp in PSP e2e tests
This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-09-08 18:14:54 -03:00 committed by GitHub
parent 76e2a5d731
commit ce3e3d51c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 28 deletions

View file

@ -71,6 +71,11 @@ var _ = framework.IngressNginxDescribe("Pod Security Policies with volumes", fun
EmptyDir: &corev1.EmptyDirVolumeSource{},
},
},
{
Name: "tmp", VolumeSource: corev1.VolumeSource{
EmptyDir: &corev1.EmptyDirVolumeSource{},
},
},
}
fsGroup := int64(33)
@ -82,6 +87,9 @@ var _ = framework.IngressNginxDescribe("Pod Security Policies with volumes", fun
{
Name: "ssl", MountPath: "/etc/ingress-controller",
},
{
Name: "tmp", MountPath: "/tmp",
},
}
_, err := f.KubeClientSet.AppsV1().Deployments(f.Namespace).Update(deployment)