diff options
author | Jhon Honce <jhonce@redhat.com> | 2014-09-22 16:19:19 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2014-09-24 09:26:57 -0700 |
commit | 3d57c7e4d02e8b769b8bb4b527a95fa819b77749 (patch) | |
tree | c8698eaf54304a1f9843909076bbc6c14bf3463b /roles/pods/files | |
parent | 5994dee9a8b3b1ee97f9e3b3529fd32ffb896187 (diff) | |
download | openshift-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.json | 30 |
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" + } +} |