You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use CodeCommit repository as GitRepository source for Flux and followed instructions mentioned here. RepoURL is not accepted in any form. I have tested the same RepoURL format directly from admin machine and it is accessible. Same configuration works fine for GitHub RepoURL.
Git configuration of FluxConfig should accept RepoURL format of CodeCommit. CodeCommit repository URL format for SSH access is ssh://<SSH Key ID>@git-codecommit.<REGION>.amazonaws.com/v1/repos/<REPO NAME>. For example: ssh://APKAEIBAERJR2EXAMPLE@git-codecommit.us-west-2.amazonaws.com/v1/repos/eksa-gitops
Note that CodeCommit SSH access is through SSH Key ID which acts like username. For GitHub git is a standard user.
How to reproduce it (as minimally and precisely as possible):
Create a FluxConfig as shown below and try upgrading cluster
What happened:
I wanted to use CodeCommit repository as GitRepository source for Flux and followed instructions mentioned here. RepoURL is not accepted in any form. I have tested the same RepoURL format directly from admin machine and it is accessible. Same configuration works fine for GitHub RepoURL.
Cluster creation throws below error
Observed username hardcoded to git at this line of gitfactory.go
What you expected to happen:
Git configuration of FluxConfig should accept RepoURL format of CodeCommit. CodeCommit repository URL format for SSH access is
ssh://<SSH Key ID>@git-codecommit.<REGION>.amazonaws.com/v1/repos/<REPO NAME>
. For example:ssh://APKAEIBAERJR2EXAMPLE@git-codecommit.us-west-2.amazonaws.com/v1/repos/eksa-gitops
Note that CodeCommit SSH access is through SSH Key ID which acts like username. For GitHub git is a standard user.
How to reproduce it (as minimally and precisely as possible):
Create a FluxConfig as shown below and try upgrading cluster
Anything else we need to know?:
Environment: Ubuntu - vSphere
The text was updated successfully, but these errors were encountered: