WordPress example major update.

Rewrite the WordPress example to use deployments, persistent volume
claims, and update the sample flow to the latest guidelines.
This commit is contained in:
Jeff Mendoza
2016-02-18 13:35:39 -08:00
parent 7a43808143
commit fb601cd1e2
13 changed files with 434 additions and 346 deletions

View File

@@ -311,10 +311,10 @@ func TestExampleObjectSchemas(t *testing.T) {
"mongo-service": &api.Service{},
},
"../examples/mysql-wordpress-pd": {
"mysql-service": &api.Service{},
"mysql": &api.Pod{},
"wordpress-service": &api.Service{},
"wordpress": &api.Pod{},
"gce-volumes": &api.PersistentVolume{},
"local-volumes": &api.PersistentVolume{},
"mysql-deployment": &api.Service{},
"wordpress-deployment": &api.Service{},
},
"../examples/nfs": {
"nfs-busybox-rc": &api.ReplicationController{},