Add e2e tests for auth annotation

This commit is contained in:
Manuel de Brito Fontes 2017-11-12 13:52:55 -03:00
parent 35363ff9f9
commit a858c549d9
8 changed files with 416 additions and 28 deletions

View file

@ -33,9 +33,8 @@ import (
func (f *Framework) NewEchoDeployment() error {
deployment := &extensions.Deployment{
ObjectMeta: metav1.ObjectMeta{
Name: "http-svc",
Namespace: f.Namespace.Name,
DeletionGracePeriodSeconds: NewInt64(5),
Name: "http-svc",
Namespace: f.Namespace.Name,
},
Spec: extensions.DeploymentSpec{
Replicas: NewInt32(1),
@ -51,6 +50,7 @@ func (f *Framework) NewEchoDeployment() error {
},
},
Spec: corev1.PodSpec{
TerminationGracePeriodSeconds: NewInt64(1),
Containers: []corev1.Container{
{
Name: "http-svc",