Refactor memcached_servers
This patch aims to add a prefix for memcached_server on each role to give the ability for deployers to override the location of memcached cluster. I.e users wants to create a single memcached cluster with k8s for each service. Change-Id: I57e7a977675c203d811bf0afc60ebf2c5661c284
This commit is contained in:
parent
6b753164b0
commit
4d1557dcf2
@ -257,6 +257,9 @@ keystone_external_ssl: false
|
||||
# External SSL forwarding proto
|
||||
keystone_secure_proxy_ssl_header: HTTP_X_FORWARDED_PROTO
|
||||
|
||||
## Override memcached_servers
|
||||
keystone_memcached_servers: "{{ memcached_servers }}"
|
||||
|
||||
## Caching
|
||||
# This is a list of strings, each string contains a cache server's
|
||||
# information (IP:port for example)
|
||||
|
@ -20,7 +20,7 @@
|
||||
state: "retrieve"
|
||||
file_mode: "{{ item.file_mode }}"
|
||||
dir_mode: "{{ item.dir_mode }}"
|
||||
server: "{{ memcached_servers }}"
|
||||
server: "{{ keystone_memcached_servers }}"
|
||||
encrypt_string: "{{ memcached_encryption_key }}"
|
||||
with_items:
|
||||
- { src: "{{ keystone_idp.certfile }}", name: "keystone_idp_cert", file_mode: "0640", dir_mode: "0750" }
|
||||
|
@ -18,7 +18,7 @@
|
||||
name: "{{ item.name }}"
|
||||
file_path: "{{ item.src }}"
|
||||
state: "present"
|
||||
server: "{{ memcached_servers }}"
|
||||
server: "{{ keystone_memcached_servers }}"
|
||||
encrypt_string: "{{ memcached_encryption_key }}"
|
||||
with_items:
|
||||
- { src: "{{ keystone_idp.certfile }}", name: "keystone_idp_cert" }
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
<StorageService type="MEMCACHE" id="mc" prefix="shibboleth2:">
|
||||
<Hosts>
|
||||
{{ memcached_servers }}
|
||||
{{ keystone_memcached_servers }}
|
||||
</Hosts>
|
||||
</StorageService>
|
||||
|
||||
<StorageService type="MEMCACHE" id="mc-ctx" prefix="shibboleth2:" buildMap="1">
|
||||
<Hosts>
|
||||
{{ memcached_servers }}
|
||||
{{ keystone_memcached_servers }}
|
||||
</Hosts>
|
||||
</StorageService>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user