Remove redis-proxy example
The docker image is nowhere to be found, so lets remove it. There have been a request for the Dockerfile here [1], but nobody seems to care. redis-proxy is replaced with redis-master in test-cmd-util.sh, to ensure that the tests still works. The redis-proxy pod in test/fixtures/doc-yaml/user-guide/multi-pod.yaml is replaced with valid-pod from test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml, so redis-proxy is removed every where. [1] https://github.com/kubernetes/kubernetes/issues/4914#issuecomment-77209779
This commit is contained in:
parent
8c807fa668
commit
22b9dd4930
|
@ -284,7 +284,6 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||||
"../examples/storage/redis": {
|
"../examples/storage/redis": {
|
||||||
"redis-controller": &api.ReplicationController{},
|
"redis-controller": &api.ReplicationController{},
|
||||||
"redis-master": &api.Pod{},
|
"redis-master": &api.Pod{},
|
||||||
"redis-proxy": &api.Pod{},
|
|
||||||
"redis-sentinel-controller": &api.ReplicationController{},
|
"redis-sentinel-controller": &api.ReplicationController{},
|
||||||
"redis-sentinel-service": &api.Service{},
|
"redis-sentinel-service": &api.Service{},
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
name: redis-proxy
|
|
||||||
role: proxy
|
|
||||||
name: redis-proxy
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: proxy
|
|
||||||
image: kubernetes/redis-proxy:v2
|
|
||||||
ports:
|
|
||||||
- containerPort: 6379
|
|
||||||
name: api
|
|
Loading…
Reference in New Issue