From bbf3ac7324b51152bf6a4881fd90c4fb5bac4755 Mon Sep 17 00:00:00 2001 From: foxish Date: Wed, 2 Nov 2016 14:53:45 -0700 Subject: [PATCH] Moving annotation to the right spot. --- test/e2e/petset.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/petset.go b/test/e2e/petset.go index 4062ec893f5..664ec68be20 100644 --- a/test/e2e/petset.go +++ b/test/e2e/petset.go @@ -889,9 +889,6 @@ func newStatefulSet(name, ns, governingSvcName string, replicas int32, petMounts ObjectMeta: api.ObjectMeta{ Name: name, Namespace: ns, - Annotations: map[string]string{ - "pod.alpha.kubernetes.io/initialized": "false", - }, }, Spec: apps.StatefulSetSpec{ Selector: &unversioned.LabelSelector{ @@ -901,6 +898,9 @@ func newStatefulSet(name, ns, governingSvcName string, replicas int32, petMounts Template: api.PodTemplateSpec{ ObjectMeta: api.ObjectMeta{ Labels: labels, + Annotations: map[string]string{ + "pod.alpha.kubernetes.io/initialized": "false", + }, }, Spec: api.PodSpec{ Containers: []api.Container{