-
Notifications
You must be signed in to change notification settings - Fork 23
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
kube play target does not work with private repositories #281
Comments
@alexanderniebuhr let me test this tomorrow. This may be a documentation issue |
Can you try to use the example file Here is the output from my system
|
@cooktheryan, I tried this and it does not work for private repositories in my case. (I tested it with the repo set to public for just a minute and it gave another error). I think it does not work for private repositories, because the fetch for commit data is called without pat. Therefore the url to the repo will return 404, because the repo is private.
|
There was an error in the docs and the test case after a merge happened that changed the structure. I pushed a fix #283 sorry about that. Ill try to look into the networking piece before break |
@cooktheryan is it supposed to work with the changed syntax and private repositories. I still can't fetch any commit data if the repository is private? |
Was just looking at it and ran a test locally. So I had classic token without repo access and I got the following.
Then I enabled repo access for the PAT and then things cleared up
|
If we can't get this worked out by the 3 Jan I would be willing to jump on a call. I think this could benefit the HA community |
Okay just regenerated a new token, now it works.. Even if the old token had all the permissions, as you could see in the screenshot. Maybe it was generated too long ago. Now I just need #280, to be able to use this for everything. |
pretty sure I followed the docs. The pat works for
configReload
but not for kube plays. Some logs:The text was updated successfully, but these errors were encountered: