Skip to content

Commit 7cb2f11

Browse files
author
Scott Nichols
committed
use old annotation value for 0.15
1 parent f77d3b2 commit 7cb2f11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/upgrade/prober/configuration.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ func (p *prober) annotateNamespace() {
5858
Get(p.client.Namespace, metav1.GetOptions{})
5959
ensure.NoError(err)
6060
ns.Labels = map[string]string{
61-
sugar.InjectionLabelKey: sugar.InjectionEnabledLabelValue,
61+
sugar.DeprecatedInjectionLabelKey: sugar.InjectionEnabledLabelValue,
62+
sugar.InjectionLabelKey: sugar.InjectionEnabledLabelValue,
6263
}
6364
_, err = p.client.Kube.Kube.CoreV1().Namespaces().
6465
Update(ns)

0 commit comments

Comments
 (0)