15 lines
556 B
Bash
Executable File
15 lines
556 B
Bash
Executable File
#!/bin/sh
|
|
# Create the eventrt client certificate secret.
|
|
# Run this script from the directory that contains the three cert files,
|
|
# or adjust the paths below to point at the actual files.
|
|
#
|
|
# Expected files (generated during RabbitMQ TLS setup):
|
|
# ca_certificate.pem
|
|
# eventrt_client_cert.pem
|
|
# eventrt_client_key.pem
|
|
|
|
kubectl create secret generic eventrt-certs \
|
|
--from-file=ca_certificate.pem=./ca_certificate.pem \
|
|
--from-file=eventrt_client_cert.pem=./eventrt_client_cert.pem \
|
|
--from-file=eventrt_client_key.pem=./eventrt_client_key.pem
|