Add e2e tests for auth annotation
This commit is contained in:
parent
35363ff9f9
commit
a858c549d9
8 changed files with 416 additions and 28 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue