Default github api url #1038
Replies: 3 comments 4 replies
-
looks like it's fixed to What's your desired baseUrl look like? I think we can obtain the api base url based on the repo url, to cover both public and enterprise github repo. |
Beta Was this translation helpful? Give feedback.
-
I think with some extra configuration, a custom github enterprise base url should arleady be supported. You can add a repository via either argocd CLI or web ui, specifying argocd repo add -h
# Add a private Git repository on GitHub Enterprise via GitHub App
argocd repo add https://ghe.example.com/repos/repo --github-app-id 1 --github-app-installation-id 2 --github-app-private-key-path test.private-key.pem --github-app-enterprise-base-url https://ghe.example.com/api/v3 |
Beta Was this translation helpful? Give feedback.
-
#1058 attempts to fix it by deriving base url from repo url. Will that work? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I have been using argocd image updater for more than a year now and the product has been great.
Kudos to everyone who has made this a success.
However, I'm trying to use argocd image updater to authenticate with a github application secret. On the logs I see that the github api url is https://api.github.com/app/installations/$MY_INSTALLATION_ID/access_token. How can I change this default github api url to point to a githubAppEnterpriseBaseUrl (that is an enterprise github api url)?
I'll greatly appreciate it if I can get a feedback soon.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions