remove metadata.creationTimestamp field from configMapGenerator

This commit is contained in:
liuhuiping
2018-09-18 18:10:45 +08:00
committed by levis.liu
parent 58492e2d83
commit 6c5a75bf73
12 changed files with 12 additions and 25 deletions

View File

@@ -159,7 +159,6 @@ func TestResources1(t *testing.T) {
"annotations": map[string]interface{}{
"note": "This is a test annotation",
},
"creationTimestamp": nil,
},
"data": map[string]interface{}{
"DB_USERNAME": "admin",
@@ -179,7 +178,6 @@ func TestResources1(t *testing.T) {
"annotations": map[string]interface{}{
"note": "This is a test annotation",
},
"creationTimestamp": nil,
},
"type": string(corev1.SecretTypeOpaque),
"data": map[string]interface{}{