Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to install custom CA certificates in the Operator #171

Open
fzappia opened this issue Sep 6, 2023 · 2 comments
Open

Add ability to install custom CA certificates in the Operator #171

fzappia opened this issue Sep 6, 2023 · 2 comments

Comments

@fzappia
Copy link

fzappia commented Sep 6, 2023

Summary

Add ability to install custom CA certificates in the Operator.

Use cases

To enable TLS communication between the operator and the connect-api, a valid certificate needs to be provided. Currently, a self-signed certificate or a certificate signed by a custom CA will make the operator request fail.

Given the common use case of deploying the connect-api service in private networks, obtaining a valid certificate from a valid CA does not seem an achievable solution.

Proposed solution

Add volumeMounts (and volumes) field to the specifications of the Operator. These fields are used to mount custom volumes into the Operator pod. E.g.

operator: 
  ...
  volumeMounts:
    - name: ca-vol
      mountPath: /usr/local/share/ca-certificates/
  volumes:
    - name: ca-vol
      configMap:
        name: ca-crt

Furthermore, the CA store needs to be updated at container boot (or provided the ability to do so)

Is there a workaround to accomplish this today?

No.

@bidetzz
Copy link

bidetzz commented Feb 8, 2024

I'm also having kind of the same issue. The operator is failing to verify the certificate since it's using the internal container name "connect-sync" to reach the connect-api . Therefore this is not a valid hostname for my certificate.

If someone found a workaround for this I would be interested !

@craigmiller160
Copy link

Commenting to try and boost this. It is a major problem. Even adding the ability to mount a volume on the operator pod would help, as I think there is a way to manually configure the CA IF I could get it on the pod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants