remove created-by annotation

This commit is contained in:
Jun Xiang Tee
2017-10-30 12:49:44 -07:00
parent 1f53329c67
commit efbfead4ef
11 changed files with 11 additions and 119 deletions

View File

@@ -118,8 +118,8 @@ func TestParseAnnotations(t *testing.T) {
expectErr: false,
},
{
annotations: []string{"url=" + testURL, api.CreatedByAnnotation + "=" + testJSON},
expected: map[string]string{"url": testURL, api.CreatedByAnnotation: testJSON},
annotations: []string{"url=" + testURL, "fake.kubernetes.io/annotation=" + testJSON},
expected: map[string]string{"url": testURL, "fake.kubernetes.io/annotation": testJSON},
expectedRemove: []string{},
scenario: "add annotations with special characters",
expectErr: false,