KS endpoint type lookup for Horizon

This commit is contained in:
Pete Birley 2017-03-07 02:05:52 +00:00
parent 97fd35009a
commit dcc2259f3b
2 changed files with 12 additions and 9 deletions

View File

@ -144,7 +144,7 @@ SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '{{ include "helm-toolkit.rabbitmq_host" . }}'
'LOCATION': '{{ .Values.memcached.host }}:{{ .Values.memcached.port }}'
}
}
@ -165,7 +165,7 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
# ('http://cluster2.example.com:5000/v2.0', 'cluster2'),
#]
OPENSTACK_KEYSTONE_URL = "{{ include "helm-toolkit.endpoint_keystone_internal" . }}"
OPENSTACK_KEYSTONE_URL = "{{ tuple "identity" "internal" "api" . | include "helm-toolkit.keystone_endpoint_uri_lookup" }}"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
# Enables keystone web single-sign-on if set to True.

View File

@ -40,6 +40,10 @@ network:
node_port: 30000
enable_node_port: false
memcached:
host: memcached
port: 11211
local_settings:
horizon_secret_key: 9aee62c0-5253-4a86-b189-e0fb71fa503c
debug: "True"
@ -60,17 +64,16 @@ resources:
memory: "128Mi"
cpu: "500m"
# mits:typically overriden by environmental
# typically overriden by environmental
# values, but should include all endpoints
# required by this chart
endpoints:
keystone:
identity:
name: keystone
hosts:
default: keystone-api
path: /v2.0
type: identity
path: /v3
scheme: 'http'
port:
admin: 35357
public: 5000
admin: 35357
api: 5000