-
Notifications
You must be signed in to change notification settings - Fork 0
Adding certificates to Allure #18
Comments
A few updates A few things I tried What did not workCombining the client cert and key into a p12 file then adding that file to the
That ends up giving the same error in the certs-init init container What seems to workAs of now, I only have the root CA ad client certs in there. I omitted the report's cert for simplicity
Also had to add to the JAVA_TOOL_OPTIONS env var in the uaa & report resources
The cert is imported into the trustore but, it seems the server.crt is not found by allure, when trying to connect to the postgresql instance. The error I get is
I could also mount the root cert, client cert & key via a volume from a secret, but then the question is how do I get allure to pick up on those certs & key when reaching out to postgres? Adding the log dump as an attachement: QuestionHow can I get allure to see and use the root cert, client cert & key? |
Still unable to find a way to make allure take into consideration the certs and key, even if mounted via an extra volume. Just a found a fix about the first thing I tried earlier, importing the pkcs12 bundle.
TO
Doing this the new keystore is imported and certs-init completes witth exit code 0. |
@johnny550 hi there cheers |
@cheshi-mantu hey. |
@johnny550 please use https://help.qameta.io for the assistance (please use your corporate email), not Chart's repo |
I figured out what the issue was. |
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
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:
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
Would appreciate the help.
Cheers
The text was updated successfully, but these errors were encountered: