Last active
August 29, 2015 14:06
-
-
Save pmorie/6f2f696d364c2e2ac2dd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| "id":"frontend-config3", | |
| "kind":"DeploymentConfig", | |
| "apiVersion":"v1beta1", | |
| "triggers":[ | |
| { | |
| "type": "manual" | |
| } | |
| ], | |
| "template":{ | |
| "strategy":{ | |
| "type":"customPod", | |
| "customPod":{ | |
| "image":"127.0.0.1:5000/openshift/kube-deploy" | |
| } | |
| }, | |
| "controllerTemplate":{ | |
| "replicas":1, | |
| "replicaSelector":{ | |
| "name":"frontend" | |
| }, | |
| "podTemplate":{ | |
| "desiredState":{ | |
| "manifest":{ | |
| "version":"v1beta1", | |
| "id":"frontendController", | |
| "containers":[ | |
| { | |
| "name":"php-redis", | |
| "image":"brendanburns/php-redis", | |
| "env":[ | |
| { | |
| "name":"ADMIN_USERNAME", | |
| "value":"admin" | |
| }, | |
| { | |
| "name":"ADMIN_PASSWORD", | |
| "value":"secret" | |
| }, | |
| { | |
| "name":"REDIS_PASSWORD", | |
| "value":"secret" | |
| } | |
| ], | |
| "ports":[ | |
| { | |
| "containerPort":80 | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "labels":{ | |
| "name":"frontend" | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment