Merge pull request #280 from larryrensing/bug/fix-memcached-hosts
bugfix: corrected memcached host
This commit is contained in:
commit
abbe14aa09
@ -29,7 +29,7 @@
|
||||
#-----------------------------------------
|
||||
|
||||
# infrastructure services
|
||||
{{- define "helm-toolkit.rabbitmq_host"}}memcached.{{.Release.Namespace}}.svc.{{ include "helm-toolkit.region" . }}.{{ include "helm-toolkit.tld" . }}{{- end}}
|
||||
{{- define "helm-toolkit.rabbitmq_host"}}rabbitmq.{{.Release.Namespace}}.svc.{{ include "helm-toolkit.region" . }}.{{ include "helm-toolkit.tld" . }}{{- end}}
|
||||
{{- define "helm-toolkit.mariadb_host"}}mariadb.{{.Release.Namespace}}.svc.{{ include "helm-toolkit.region" . }}.{{ include "helm-toolkit.tld" . }}{{- end}}
|
||||
{{- define "helm-toolkit.postgresql_host"}}postgresql.{{.Release.Namespace}}.svc.{{ include "helm-toolkit.region" . }}.{{ include "helm-toolkit.tld" . }}{{- end}}
|
||||
|
||||
|
@ -22,14 +22,14 @@ connection = mysql+pymysql://{{ .Values.database.keystone_user }}:{{ .Values.dat
|
||||
max_retries = -1
|
||||
|
||||
[memcache]
|
||||
servers = {{ include "helm-toolkit.rabbitmq_host" . }}:11211
|
||||
servers = "{{ .Values.memcached.host }}:{{ .Values.memcached.port }}"
|
||||
|
||||
[token]
|
||||
provider = {{ .Values.api.token.provider }}
|
||||
|
||||
[cache]
|
||||
backend = dogpile.cache.memcached
|
||||
memcache_servers = {{ include "helm-toolkit.rabbitmq_host" . }}:11211
|
||||
memcache_servers = "{{ .Values.memcached.host }}:{{ .Values.memcached.port }}"
|
||||
config_prefix = cache.keystone
|
||||
enabled = True
|
||||
|
||||
|
@ -56,6 +56,10 @@ network:
|
||||
admin: 35357
|
||||
api: 5000
|
||||
|
||||
memcached:
|
||||
host: memcached
|
||||
port: 11211
|
||||
|
||||
database:
|
||||
port: 3306
|
||||
root_user: root
|
||||
|
Loading…
Reference in New Issue
Block a user