Enable TLS connection to rabbitmq
Change-Id: Ia4d65393ad0112ae63433a7f67a8c8706a15b216 Signed-off-by: Anselme, Schubert (sa246v) <sa246v@att.com>
This commit is contained in:
parent
f3ea82daec
commit
f571611f3c
@ -16,7 +16,7 @@
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Shipyard and Airflow
|
||||
name: shipyard
|
||||
version: 0.2.1
|
||||
version: 0.2.2
|
||||
appVersion: 2.6.2
|
||||
keywords:
|
||||
- shipyard
|
||||
|
@ -16,5 +16,8 @@ limitations under the License.
|
||||
|
||||
{{- if .Values.manifests.job_rabbit_init }}
|
||||
{{- $rmqJob := dict "envAll" . "serviceName" "airflow" -}}
|
||||
{{- if .Values.manifests.certificates -}}
|
||||
{{- $_ := set $rmqJob "tlsSecret" .Values.endpoints.oslo_messaging.auth.admin.secret.tls.internal -}}
|
||||
{{- end -}}
|
||||
{{ $rmqJob | include "helm-toolkit.manifests.job_rabbit_init" }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
@ -24,5 +24,5 @@ metadata:
|
||||
name: {{ $secretName }}
|
||||
type: Opaque
|
||||
data:
|
||||
RABBITMQ_CONNECTION: {{ tuple "oslo_messaging" "internal" "user" "amqp" $envAll | include "shipyard.endpoints.authenticated_transport_endpoint_uri_lookup" | b64enc }}
|
||||
RABBITMQ_CONNECTION: {{ tuple "oslo_messaging" "internal" "user" "http" $envAll | include "shipyard.endpoints.authenticated_transport_endpoint_uri_lookup" | b64enc }}
|
||||
{{- end }}
|
||||
|
@ -334,12 +334,15 @@ endpoints:
|
||||
admin:
|
||||
username: rabbitmq
|
||||
password: password
|
||||
secret:
|
||||
tls:
|
||||
internal: rabbitmq-tls-direct
|
||||
hosts:
|
||||
default: rabbitmq
|
||||
host_fqdn_override:
|
||||
default: null
|
||||
path: /airflow
|
||||
scheme: amqp
|
||||
scheme: rabbit
|
||||
port:
|
||||
amqp:
|
||||
default: 5672
|
||||
|
Loading…
x
Reference in New Issue
Block a user