[WIP] Attempt to consolidate YAML files (#8965)

This is an attempt to consolidate YAML files so that:

- They can remain untouched when we moving the documents around;
- Contributors do not have to change the test cases each time a
  documentation is moved;
- We can encourage referencing the existing YAMLs from different
  concept or task pages when possible.
This commit is contained in:
Qiming
2018-06-26 03:25:21 +08:00
committed by k8s-ci-robot
parent 10cd398d67
commit 99c4c54cb5
4 changed files with 43 additions and 3 deletions
+3 -1
View File
@@ -440,8 +440,10 @@ func TestExampleObjectSchemas(t *testing.T) {
"redis-pod": {&api.Pod{}},
"redis-service": {&api.Service{}},
},
"docs/tasks/run-application": {
"artifacts/application": {
"deployment": {&extensions.Deployment{}},
},
"docs/tasks/run-application": {
"deployment-patch-demo": {&extensions.Deployment{}},
"deployment-scale": {&extensions.Deployment{}},
"deployment-update": {&extensions.Deployment{}},