Replies: 3 comments 3 replies
-
Edit: But now I realise you wanted to do this for the controller, not the Runners... I'll leave my reply below anyway You are missing an option! I currently solve this by using initContainers in my RunnerSet spec. Something like this (ignore that it is an normal Deployment. The principle works with RunnerDeployment and RunnerSet as well):
So the init container collects all certs, included a custom cert populated from a secret, to a shared volume. This volume is then mounted to |
Beta Was this translation helpful? Give feedback.
-
@gazab @pharndt Hi! 👋 I'm troubleshooting the same thing trying to get GHES working. Can you have a look at this Issue and see if you have any feedback? We're trying to figure out how to get the ca bundle presented to the controller and also if it's necessary to somehow get it presented to the runners as well. We're using a runnerdeployment in our testing. |
Beta Was this translation helpful? Give feedback.
-
@casanova-21 hey i have setup ARC for my GHES org, registration is sucessfull in the controller log and runners pods are getting created. However in the logs i see below, Any clues how to suppress or overcome this ssl issue? I am using PAT authentication for controller-manager secret `2024-05-17 15:03:42.363 DEBUG --- Configuring the runner. | ____ _ _ _ _ _ _ _ _ |
|
Beta Was this translation helpful? Give feedback.
-
When using this for an internal GitHub Enterprise installation, it might be necessary to pass self-signed certificates to the controller in order to get it to work with an internal hostname.
Currently, I see two options on how to achieve this:
Adding the certificates as a volume mount (e.g., to the mountPath
/etc/ssl/certs
)This comes with the drawback, that is currently necessary to change the helm chart, which will cause effort on each update.
Adding the certificates by re-bundle the controller image
In this case, the certificates can be copied to the image and the Helm chart stays untouched. On the other hand, it comes with the drawback that you will need to re-bundle each new version of the controller.
Do I miss an option? Would you accept a PR for the Helm chart, that adds an optional value for self-signed certificates that will get mounted to
/etc/ssl/certs
?Beta Was this translation helpful? Give feedback.
All reactions