Replies: 2 comments
-
|
@nat-ray your credentials and promotion task look fine, but I think you may need to enable the Global Namespace Settings for the |
Beta Was this translation helpful? Give feedback.
-
|
Authentication errors from GitHub can be cryptic at times. In my experience, the error you are seeing is actually indicative of no credentials at all having been supplied, which in turn, means they were probably not found. If you were to enable debug logging, the logs would probably reflect this. @csz-akuity's guidance is putting you on the right track, although I will add...
@csz-akuity, once again, is putting you on the right track. You do indeed configure Kargo to look in one or more specific namespaces for shared credentials by adding them to the list of "global credentials namespaces." However, since "cluster secrets namespace" and "global credentials namespaces" have distinctly different purposes, as described above, I would highly discourage the recommendation that The correct thing to do is dedicate one namespace as the one for "sharable" credentials, configure Kargo to be aware of that, and then put your Secret there. Aside: In an upcoming release, we will be removing support for multiple "global credentials namespaces" and allowing just one, so do keep that in mind as you set this up, and definitely allocate just one namespace for those sharable credentials and not multiples. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use a Github App configured as a cluster secret and created it like this:
kargo apply -f secret.ymlis successful, and I can see the cluster secret in Kargo. My promotion task does not seem to automatically use the cluster secret. Promotion task example:Error seen in Kargo:
... fatal: could not read Username for 'https://github.com': No such device or address.If I add the project git secret, then the
git-cloneis successful. Is there something missing?Beta Was this translation helpful? Give feedback.
All reactions