Available from Xray version 3.78.10.
Set
rabbitmq.auth.tls.enabledas true in thevalues.yamlfile.rabbitmq: auth: tls: enabled: trueSelect whether you want RabbitMQ to generate certs or whether you wish to use your own certs.
Set
rabbitmq.auth.tls.autogeneratedas true in thevalues.yamlfile so that RabbitMQ generates the certs.rabbitmq: auth: tls: enabled: true autogenerated: trueSet
rabbitmq.auth.tls.autogeneratedas false in thevalues.yamlfile so that you can use your own certs.rabbitmq: auth: tls: enabled: true autogenerated: false
If you want to use your own certs, you can pass the certs either as a Kubernetes secret or through the
values.yamlfile.Pass Certs as a Kubernetes Secret
To pass your certs as a Kubernetes secret, set
rabbitmq.auth.tls.existingSecretwith the secret name.rabbitmq: auth: tls: enabled: true autogenerated: false existingSecret: <secret name>Pass Certs in the
values.yamlfileTo pass your certs as a Kubernetes secret, set the following values in the
values.yamlfile.CA certificate information in
rabbitmq.auth.tls.caCertificateServer certificate information in
rabbitmq.auth.tls.serverCertificateServer RSA private key information in
rabbitmq.auth.tls.serverKey
rabbitmq: auth: tls: enabled: true autogenerated: false caCertificate: |- -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- serverCertificate: |- -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- serverKey: |- -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----Run the following command to apply the
values.yamlin the Xray installation.helm upgrade --install xray -f values.yaml --namespace xray jfrog/xray
You can also run a fresh installation of Xray installation with this updated values.yaml along with the other requirements mentioned in Xray Single Node Helm Installation.
Disable TLS in RabbitMQ for Xray in Xray Helm Chart
To disable TLS in RabbitMQ, set rabbitmq.auth.tls.enabledas false in the values.yaml file and run the following command.
helm upgrade --install xray -f values.yaml --namespace xray jfrog/xray