Created
June 6, 2017 17:43
-
-
Save tbielawa/ae4a1f4163748094589ec6a839c97bd7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "router2", | |
"replicas": 1, | |
"serviceaccount": "router", | |
"namespace": "default", | |
"stats_port": 1941, | |
"ports": [ | |
"8080:8080", | |
"6443:6443" | |
], | |
"images": "registry.ops.openshift.com/openshift3/ose-${component}:${version}", | |
"certificate": {}, | |
"selector": "region=infra", | |
"edits": [ | |
{ | |
"action": "update", | |
"key": "spec.template.spec.containers[0].ports", | |
"curr_value": { | |
"containerPort": "1935", | |
"hostPort": "1935", | |
"name": "router-stats", | |
"protocol": "TCP" | |
}, | |
"value": { | |
"containerPort": "1940", | |
"hostPort": "1940", | |
"name": "router-stats", | |
"protocol": "TCP" | |
} | |
}, | |
{ | |
"action": "update", | |
"curr_value": { | |
"name": "ROUTER_SERVICE_HTTPS_PORT", | |
"value": "443" | |
}, | |
"key": "spec.template.spec.containers[0].env", | |
"value": { | |
"name": "ROUTER_SERVICE_HTTPS_PORT", | |
"value": "6443" | |
} | |
}, | |
{ | |
"key": "spec.template.spec.containers[0].env", | |
"action": "update", | |
"curr_value": { | |
"name": "ROUTER_SERVICE_HTTP_PORT", | |
"value": "80" | |
}, | |
"value": { | |
"name": "ROUTER_SERVICE_HTTP_PORT", | |
"value": "8080" | |
} | |
}, | |
{ | |
"key": "spec.template.spec.containers[0].env", | |
"action": "update", | |
"curr_value": { | |
"name": "STATS_PORT", | |
"value": "1936" | |
}, | |
"value": { | |
"name": "STATS_PORT", | |
"value": "1941" | |
} | |
}, | |
{ | |
"key": "spec.template.spec.containers[0].env", | |
"action": "update", | |
"curr_value": { | |
"name": "ROUTER_LISTEN_ADDR", | |
"value": "0.0.0.0:1935" | |
}, | |
"value": { | |
"name": "ROUTER_LISTEN_ADDR", | |
"value": "0.0.0.0:1940" | |
} | |
}, | |
{ | |
"action": "update", | |
"key": "spec.template.spec.containers[0].ports", | |
"curr_value": { | |
"containerPort": "1936", | |
"hostPort": "1936", | |
"name": "stats", | |
"protocol": "TCP" | |
}, | |
"value": { | |
"containerPort": "1941", | |
"hostPort": "1941", | |
"name": "stats", | |
"protocol": "TCP" | |
} | |
} | |
] | |
}, | |
{ | |
"name": "router3", | |
"replicas": 1, | |
"serviceaccount": "router", | |
"namespace": "default", | |
"stats_port": 1936, | |
"ports": [ | |
"80:80", | |
"443:443" | |
], | |
"images": "registry.ops.openshift.com/openshift3/ose-${component}:${version}", | |
"certificate": {}, | |
"selector": "region=infra", | |
"edits": [] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment