-
Notifications
You must be signed in to change notification settings - Fork 694
Refactor bootstrap process to use fluxcd/pkg/git
#3299
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
Conversation
b02c500 to
007e0a3
Compare
|
commands and providers tested:
|
3601f85 to
77ff5fd
Compare
cb14af2 to
dd6ddf2
Compare
dd6ddf2 to
f2d2d00
Compare
pjbgf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Great stuff @aryan9600! 🚀
stefanprodan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @aryan9600 🏅
fluxcd/pkg/git
|
@stefanprodan please review the latest changes from an UX PoV. They were required due to the CodeCommit workflow for non |
|
@aryan9600 @pjbgf I don't understand why is the SSH username a prompt instead of a flag to set it. I also don't understand how and why is this used. Please post an example for AWS CodeCommit to show case what this does. |
|
I propose we undo the flux bootstrap git \
--url ssh://SSH-Key-ID@git-codecommit.<region>.amazonaws.com/v1/repos/<repository> \
--private-key-file=<path/to/private.key>We could add a regex for AWS CodeCommit SSH URLs and error out if the private key is not supplied. We also need to add an example like the above to the command help. |
8a443ee to
1029892
Compare
ac860e6 to
62db2d1
Compare
5f5bf41 to
b5ac7f1
Compare
cfbf96b to
45e10f0
Compare
pjbgf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Awesome work @aryan9600! 🙇
Signed-off-by: Sanskar Jaiswal <[email protected]>
Signed-off-by: Sanskar Jaiswal <[email protected]>
Signed-off-by: Sanskar Jaiswal <[email protected]>
45e10f0 to
6d2cbca
Compare
stefanprodan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Great work 🥇
Signed-off-by: Sanskar Jaiswal <[email protected]>
6d2cbca to
35e1b5c
Compare

Refactors the bootstrap process to use https://github.com/fluxcd/pkg/tree/main/git/gogit, getting rid of the
pkg/bootstrap/gitin the process.Fixes: #3273
Related to: #3282
Signed-off-by: Sanskar Jaiswal [email protected]