diff --git a/neutron/templates/configmap-etc.yaml b/neutron/templates/configmap-etc.yaml index a71d4c93ee..7453379590 100644 --- a/neutron/templates/configmap-etc.yaml +++ b/neutron/templates/configmap-etc.yaml @@ -49,6 +49,10 @@ {{- tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set .Values.conf.neutron.nova.nova.auth "auth_url" | quote | trunc 0 -}} {{- end }} +{{- if empty .Values.conf.metadata_agent.cache.oslo.cache.memcache_servers -}} +{{- tuple "oslo_cache" "internal" "memcache" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" | set .Values.conf.metadata_agent.cache.oslo.cache "memcache_servers" | quote | trunc 0 -}} +{{- end -}} + apiVersion: v1 kind: ConfigMap metadata: diff --git a/neutron/values.yaml b/neutron/values.yaml index d55c9a71c8..2a356483a9 100644 --- a/neutron/values.yaml +++ b/neutron/values.yaml @@ -446,6 +446,11 @@ conf: nova_metadata_port: 80 nova_metadata_protocol: http metadata_proxy_shared_secret: "password" + cache: + oslo: + cache: + enabled: true + backend: dogpile.cache.memcached sriov_agent: override: append: