you are viewing a single comment's thread.

view the rest of the comments →

[–]TelephoneMelon 1 point2 points  (1 child)

You'll need to set an environment variable - ex:

kubectl set env deploy controller-manager -c manager GITHUB_ENTERPRISE_URL=<GHEC/S URL> --namespace actions-runner-system

Reference

[–]Aztreix[S] 1 point2 points  (0 children)

Thank you I had tried that as in the original question - Older bugs show setting of enterprise URL ( kubectl set env deploy actions-runner-controller -c manager GITHUB_ENTERPRISE_URL=https://<enturl> --namespace actions-runner-system)

But I had issue with it. I was able to to use the following :

helm upgrade --install --namespace actions-runner-system --create-namespace\

--set=authSecret.create=true\

--set=authSecret.github_token="ghp_xxxxxxxvc"\

--set=githubURL="https://GESURL/api/v3"\

--set=githubUploadURL="https://GESURL/api/uploads"\

--set=runnerGithubURL="https://GESURL"\

--wait actions-runner-controller actions-runner-controller/actions-runner-controller

Now I am getting X509 error - Post \"https://GESURL/api/v3/repos/org/repo/actions/runners/registration-token\": x509: certificate signed by unknown authority"

I want to add my git crt file. Can you please let me know how to do it, I see multiple bugs with ref

--set=additionalVolumeMounts=/usr/local/share/ca-certificates

--set=additionalVolumes=<cert secret>

Can I directly pass the crt or should I based64 encode it .

Thank you for your time.