summaryrefslogtreecommitdiffstats
path: root/roles/pods/files
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2014-09-22 16:19:19 -0700
committerJhon Honce <jhonce@redhat.com>2014-09-24 09:26:57 -0700
commit3d57c7e4d02e8b769b8bb4b527a95fa819b77749 (patch)
treec8698eaf54304a1f9843909076bbc6c14bf3463b /roles/pods/files
parent5994dee9a8b3b1ee97f9e3b3529fd32ffb896187 (diff)
downloadopenshift-3d57c7e4d02e8b769b8bb4b527a95fa819b77749.tar.gz
openshift-3d57c7e4d02e8b769b8bb4b527a95fa819b77749.tar.bz2
openshift-3d57c7e4d02e8b769b8bb4b527a95fa819b77749.tar.xz
openshift-3d57c7e4d02e8b769b8bb4b527a95fa819b77749.zip
WIP Infra - Support for multiple GCE projects
* Add support in cloud.rb for reading configuration * Add support for docker-registry pod
Diffstat (limited to 'roles/pods/files')
-rw-r--r--roles/pods/files/pods/docker-registry.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/roles/pods/files/pods/docker-registry.json b/roles/pods/files/pods/docker-registry.json
new file mode 100644
index 000000000..388a1015e
--- /dev/null
+++ b/roles/pods/files/pods/docker-registry.json
@@ -0,0 +1,30 @@
+{
+ "kind": "Pod",
+ "version": "v1beta1",
+ "desiredState": {
+ "manifest": {
+ "version": "v1beta1",
+ "containers": [{
+ "name": "docker-registry",
+ "image": "registry",
+ "volumeMounts": [{
+ "name": "data",
+ "mountPath": "/var/lib/docker-registry"
+ }],
+ "ports": [{
+ "containerPort": 5000,
+ "hostPort": 9999
+ }]
+ }],
+ "volumes": [{
+ "name": "data",
+ "source": {
+ "emptyDir": true
+ }
+ }]
+ }
+ },
+ "labels": {
+ "name": "docker-registry"
+ }
+}