Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Adding certificates to Allure #18

@johnny550

Description

@johnny550

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions