Use htk function to directly hit RabbitMQ servers

This PS updates the charts to use the htk function
to allow oslo.messaging clients and servers to directly hit their
backends rather than using either DNS or K8S svc based routing.

Change-Id: I389de832740a59c0594e907177c8c2172a83958a
This commit is contained in:
Chi Lo 2019-09-06 17:55:08 -07:00
parent 336594600b
commit 700f9dfcf3
2 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,7 @@ limitations under the License.
{{- $_ := tuple "oslo_db" "internal" "ranger_agent" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup"| set .Values.conf.ranger_agent.database "connection" -}}
{{- end -}}
{{- if empty .Values.conf.ranger_agent.DEFAULT.transport_url -}}
{{- $_ := tuple "oslo_messaging" "internal" "ranger-agent" "amqp" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set .Values.conf.ranger_agent.DEFAULT "transport_url" -}}
{{- $_ := tuple "oslo_messaging" "internal" "ranger-agent" "amqp" . | include "helm-toolkit.endpoints.authenticated_transport_endpoint_uri_lookup" | set .Values.conf.ranger_agent.DEFAULT "transport_url" -}}
{{- end -}}
{{- if empty .Values.conf.ranger_agent.orm.rds_listener_endpoint -}}
{{- $_ := tuple "ranger_rds" "public" "rds" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" | set .Values.conf.ranger_agent.orm "rds_listener_endpoint" -}}

View File

@ -416,6 +416,9 @@ endpoints:
ranger-agent:
username: ranger-agent
password: password
statefulset:
replicas: 2
name: rabbitmq-rabbitmq
hosts:
default: rabbitmq
host_fqdn_override: