kolla-ansible/k8s/pod/glance-pod.json
Lars Kellogg-Stedman a4069300aa correct various issues with glance images and configs
- update keystone endpoints/user on boot (to avoid problems caused by,
  e.g., a stale password or invalid endpoint urls)
- require GLANCE_DB_PASSWORD and GLANCE_KEYSTONE_PASSWORD in the
  environment, since we start multiple containers

Change-Id: I31214b81280ed34409f92e79003c1116d5737d2e
2014-10-13 09:53:56 -04:00

69 lines
1.5 KiB
JSON

{
"labels": {
"name": "glance"
},
"id": "glance",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "glance-1",
"containers": [
{
"ports": [
{
"containerPort": 9191
}
],
"name": "glance-registry",
"image": "kollaglue/fedora-rdo-glance-registry",
"env": [
{
"value": "password",
"name": "DB_ROOT_PASSWORD"
},
{
"value": "password",
"name": "GLANCE_DB_PASSWORD"
},
{
"value": "password",
"name": "GLANCE_KEYSTONE_PASSWORD"
},
{
"value": "ADMINTOKEN",
"name": "KEYSTONE_ADMIN_TOKEN"
}
]
},
{
"ports": [
{
"containerPort": 9292
}
],
"name": "glance-api",
"image": "kollaglue/fedora-rdo-glance-api",
"env": [
{
"value": "password",
"name": "DB_ROOT_PASSWORD"
},
{
"value": "password",
"name": "GLANCE_DB_PASSWORD"
},
{
"value": "password",
"name": "GLANCE_KEYSTONE_PASSWORD"
},
{
"value": "ADMINTOKEN",
"name": "KEYSTONE_ADMIN_TOKEN"
}
]
}
]
}
}
}