-
Notifications
You must be signed in to change notification settings - Fork 16
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
Usage with GitHub-enterprise GitHub instance #23
Comments
Sorry for the late reply. I think you should configure the base url via the credentials. See https://github.com/coopnorge/provider-github#adding-provider-config apiVersion: v1
kind: Secret
metadata:
name: provider-secret
namespace: upbound-system
type: Opaque
stringData:
credentials: "{\"token\":\"${GH_TOKEN}\",\"owner\":\"${GH_OWNER}\"}" So modify the credentials key in order to support GHE. The format of the json is the same as configuring the terraform provider: https://registry.terraform.io/providers/integrations/github/latest/docs#argument-reference I cannot test this, but i hope that works. |
I can confirm that adding the |
@sebastienbrunkyndryl i am going to close it, but feel free to reopen if this issue is not resolved. |
Hello,
In order to use the provider with a GitHub-enterprise instance it's required to set base_url property, but I don't retrieve the properties into to "providerconfigs.github.upbound.io" CRD.
Could you add an example to explain how to make it ?
The text was updated successfully, but these errors were encountered: