Consolidated examples into storage/ and volume/ folders
Search and replace for references to moved examples Reverted find and replace paths on auto gen docs Reverting changes to changelog Fix bugs in test-cmd.sh Fixed path in examples README ran update-all successfully Updated verify-flags exceptions to include renamed files
This commit is contained in:
@@ -220,10 +220,10 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"pod": &api.Pod{},
|
||||
"service": &api.Service{},
|
||||
},
|
||||
"../examples/iscsi": {
|
||||
"../examples/volumes/iscsi": {
|
||||
"iscsi": &api.Pod{},
|
||||
},
|
||||
"../examples/glusterfs": {
|
||||
"../examples/volumes/glusterfs": {
|
||||
"glusterfs-pod": &api.Pod{},
|
||||
"glusterfs-endpoints": &api.Endpoints{},
|
||||
"glusterfs-service": &api.Service{},
|
||||
@@ -249,14 +249,14 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"scheduler-policy-config": &schedulerapi.Policy{},
|
||||
"scheduler-policy-config-with-extender": &schedulerapi.Policy{},
|
||||
},
|
||||
"../examples/rbd/secret": {
|
||||
"../examples/volumes/rbd/secret": {
|
||||
"ceph-secret": &api.Secret{},
|
||||
},
|
||||
"../examples/rbd": {
|
||||
"../examples/volumes/rbd": {
|
||||
"rbd": &api.Pod{},
|
||||
"rbd-with-secret": &api.Pod{},
|
||||
},
|
||||
"../examples/cassandra": {
|
||||
"../examples/storage/cassandra": {
|
||||
"cassandra-daemonset": &extensions.DaemonSet{},
|
||||
"cassandra-controller": &api.ReplicationController{},
|
||||
"cassandra-service": &api.Service{},
|
||||
@@ -289,7 +289,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"../examples/explorer": {
|
||||
"pod": &api.Pod{},
|
||||
},
|
||||
"../examples/hazelcast": {
|
||||
"../examples/storage/hazelcast": {
|
||||
"hazelcast-controller": &api.ReplicationController{},
|
||||
"hazelcast-service": &api.Service{},
|
||||
},
|
||||
@@ -319,7 +319,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"mysql-deployment": &api.Service{},
|
||||
"wordpress-deployment": &api.Service{},
|
||||
},
|
||||
"../examples/nfs": {
|
||||
"../examples/volumes/nfs": {
|
||||
"nfs-busybox-rc": &api.ReplicationController{},
|
||||
"nfs-server-rc": &api.ReplicationController{},
|
||||
"nfs-server-service": &api.Service{},
|
||||
@@ -345,7 +345,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"phabricator-controller": &api.ReplicationController{},
|
||||
"phabricator-service": &api.Service{},
|
||||
},
|
||||
"../examples/redis": {
|
||||
"../examples/storage/redis": {
|
||||
"redis-controller": &api.ReplicationController{},
|
||||
"redis-master": &api.Pod{},
|
||||
"redis-proxy": &api.Pod{},
|
||||
@@ -357,7 +357,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"limits": &api.LimitRange{},
|
||||
"quota": &api.ResourceQuota{},
|
||||
},
|
||||
"../examples/rethinkdb": {
|
||||
"../examples/storage/rethinkdb": {
|
||||
"admin-pod": &api.Pod{},
|
||||
"admin-service": &api.Service{},
|
||||
"driver-service": &api.Service{},
|
||||
@@ -390,11 +390,11 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"zookeeper-service": &api.Service{},
|
||||
"zookeeper": &api.Pod{},
|
||||
},
|
||||
"../examples/cephfs/": {
|
||||
"../examples/volumes/cephfs/": {
|
||||
"cephfs": &api.Pod{},
|
||||
"cephfs-with-secret": &api.Pod{},
|
||||
},
|
||||
"../examples/fibre_channel": {
|
||||
"../examples/volumes/fibre_channel": {
|
||||
"fc": &api.Pod{},
|
||||
},
|
||||
"../examples/javaweb-tomcat-sidecar": {
|
||||
@@ -409,7 +409,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"redis-service": &api.Service{},
|
||||
"job": &batch.Job{},
|
||||
},
|
||||
"../examples/azure_file": {
|
||||
"../examples/volumes/azure_file": {
|
||||
"azure": &api.Pod{},
|
||||
},
|
||||
}
|
||||
@@ -486,7 +486,7 @@ func TestReadme(t *testing.T) {
|
||||
}{
|
||||
{"../README.md", []runtime.Object{&api.Pod{}}},
|
||||
{"../docs/user-guide/walkthrough/README.md", []runtime.Object{&api.Pod{}}},
|
||||
{"../examples/iscsi/README.md", []runtime.Object{&api.Pod{}}},
|
||||
{"../examples/volumes/iscsi/README.md", []runtime.Object{&api.Pod{}}},
|
||||
}
|
||||
|
||||
for _, path := range paths {
|
||||
|
Reference in New Issue
Block a user