Adapt examples test for latest change

This commit is contained in:
Qiming Teng
2021-06-18 09:23:39 +08:00
parent 46c2fb6c98
commit 584097ebfa
3 changed files with 13 additions and 7 deletions
+6 -4
View File
@@ -470,10 +470,12 @@ func TestExampleObjectSchemas(t *testing.T) {
"cassandra-statefulset": {&apps.StatefulSet{}, &storage.StorageClass{}},
},
"application/guestbook": {
"frontend-deployment": {&apps.Deployment{}},
"frontend-service": {&api.Service{}},
"mongo-deployment": {&apps.Deployment{}},
"mongo-service": {&api.Service{}},
"frontend-deployment": {&apps.Deployment{}},
"frontend-service": {&api.Service{}},
"redis-follower-deployment": {&apps.Deployment{}},
"redis-follower-service": {&api.Service{}},
"redis-leader-deployment": {&apps.Deployment{}},
"redis-leader-service": {&api.Service{}},
},
"application/hpa": {
"php-apache": {&autoscaling.HorizontalPodAutoscaler{}},