Fix onap-parameters issue when not using proxy for
designate, but IS_SAME_OPENSTACK_AS_VNF is true.
In this case, the OPENSTACK_KEYSTONE_URL parameters
were not being properly set for dcae_keystone_url.
This change fixes the issue.
Change-Id: Icef25f38caeaaffebef6cec17571df36cdfd5335
Issue-ID: OOM-615
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
if [ "$DNSAAS_PROXY_ENABLE" = "true" ]
then
find /config-init/$NAMESPACE/dcaegen2/heat/ -type f -exec sed -i -e "s,DCAE_FINAL_KEYSTONE_URL_HERE,$DCAE_PROXIED_KEYSTONE_URL,g" {} \;
- else
+ elif [ "$IS_SAME_OPENSTACK_AS_VNF" = "false" ]
+ then
find /config-init/$NAMESPACE/dcaegen2/heat/ -type f -exec sed -i -e "s,DCAE_FINAL_KEYSTONE_URL_HERE,$DCAE_OS_KEYSTONE_URL/$DCAE_OS_API_VERSION,g" {} \;
+ else
+ find /config-init/$NAMESPACE/dcaegen2/heat/ -type f -exec sed -i -e "s,DCAE_FINAL_KEYSTONE_URL_HERE,$OPENSTACK_KEYSTONE_URL/$OPENSTACK_API_VERSION,g" {} \;
fi
fi
dockerSharePath: /dockerdata-nfs
image:
repository: oomk8s/config-init
- tag: 1.1.9
+ tag: 1.1.10
pullPolicy: Always