Start using nova_metadata_host
nova_metadata_ip was deprecated in Pike and is being removed in Queens, update its usage. Change-Id: I347720dc8c90f78dbaef7565c091d1367a29d7c4
This commit is contained in:
parent
0c7b6e01a3
commit
594b428929
@ -82,8 +82,17 @@ limitations under the License.
|
||||
{{- set $envAll.Values.conf.neutron.nova "password" $envAll.Values.endpoints.identity.auth.nova.password | quote | trunc 0 -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
nova_metadata_ip can go away when Newton is no longer supported, otherwise
|
||||
just set it along with nova_metadata_host.
|
||||
*/}}
|
||||
{{- if empty $envAll.Values.conf.metadata_agent.DEFAULT.nova_metadata_ip -}}
|
||||
{{- tuple "compute_metadata" "public" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" | set $envAll.Values.conf.metadata_agent.DEFAULT "nova_metadata_ip" | quote | trunc 0 -}}
|
||||
{{- end -}}
|
||||
{{- if empty $envAll.Values.conf.metadata_agent.DEFAULT.nova_metadata_host -}}
|
||||
{{- tuple "compute_metadata" "public" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" | set $envAll.Values.conf.metadata_agent.DEFAULT "nova_metadata_host" | quote | trunc 0 -}}
|
||||
{{- end -}}
|
||||
{{- if empty $envAll.Values.conf.metadata_agent.DEFAULT.nova_metadata_port -}}
|
||||
{{- set $envAll.Values.conf.metadata_agent.DEFAULT "nova_metadata_port" 80 | quote | trunc 0 -}}
|
||||
{{- end -}}
|
||||
{{- if empty $envAll.Values.conf.metadata_agent.cache.memcache_servers -}}
|
||||
|
Loading…
Reference in New Issue
Block a user