corrected memcached host

This commit is contained in:
Larry Rensing 2017-03-15 09:01:07 -05:00
parent 3e62cd54e2
commit de7d71558e
3 changed files with 7 additions and 3 deletions

View File

@ -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}}

View File

@ -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

View File

@ -56,6 +56,10 @@ network:
admin: 35357
api: 5000
memcached:
host: memcached
port: 11211
database:
port: 3306
root_user: root