Allow specifying the keystone token provider

The new default for mitaka+ is fernet tokens which not all
container images support.  This allows the operator to
specify the token provider, allowing uuid token usage in
images which is required until the infrastructure to setup
and distribute fernet keys is created.
This commit is contained in:
Alan Meadows 2017-01-12 15:23:09 -08:00
parent 49133ce86b
commit d43b95a152
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[DEFAULT] [DEFAULT]
debug = {{ .Values.misc.debug }} debug = {{ .Values.api.default.debug }}
use_syslog = False use_syslog = False
use_stderr = True use_stderr = True
@ -10,6 +10,9 @@ max_retries = -1
[memcache] [memcache]
servers = {{ include "memcached_host" . }}:11211 servers = {{ include "memcached_host" . }}:11211
[token]
provider = {{ .Values.api.token.provider }}
[cache] [cache]
backend = dogpile.cache.memcached backend = dogpile.cache.memcached
memcache_servers = {{ include "memcached_host" . }}:11211 memcache_servers = {{ include "memcached_host" . }}:11211

View File

@ -31,6 +31,12 @@ keystone:
admin_password: password admin_password: password
admin_project_name: admin admin_project_name: admin
api:
default:
debug: false
token:
provider: uuid
network: network:
port: port:
admin: 35357 admin: 35357
@ -52,9 +58,6 @@ database:
keystone_password: password keystone_password: password
keystone_user: keystone keystone_user: keystone
misc:
debug: false
dependencies: dependencies:
api: api:
jobs: jobs: