-
Notifications
You must be signed in to change notification settings - Fork 0
Adding certificates to Allure #18
Description
Hello, thanks for taking a look at this post.
So deploying Allure via this helm chart. I have an existing postgresql deployment and wish to connect allure to it. Ssl is necessary, so I'd like to add the necessary certs and keys into allure, to allow report and uaa to talk to pgsql.
I see this option in the values file
certificates:
configmapName: my-cm
The certs-init int container loads the certificate in the uaa and report pods, but once either of those containers within the pod starts, I get the following error:
Starting Allure UAA Service
Fetching certificates from: TLS Database Certificates
If certificates....
Warning: use -cacerts option to access cacerts keystore
keytool error: java.lang.Execption: Input not an X.509 certificate
Now the certs and keys I added in the configmap my-cm are for both uaa and report. And both have been tested in a separate pod. using them to access the postgresql engine works just fine.
My guess is I am missing something regarding what to put in that config map.
My config map is
apiVersion: 1
kind: ConfigMap
...
data:
trust-bundle.pem: |-
#root CA cert
#cert for uaa
#key for uaa cert
#cert for report
#key for report cert
Would appreciate the help.
Cheers