Skip to content
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

move2kube workflow using ssh keys instead of token #15

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

gabriel-farache
Copy link
Contributor

@gabriel-farache gabriel-farache commented Jan 3, 2024

Follow-up of #8

This PR changes the way the workflow and the move2kube instance interact with the private git repo: instead of using a token, they are using ssh keys previously added to the account (ie: https://bitbucket.org/account/settings/ssh-keys/)

By using the ssh keys, the move2kube instance can clone the repository when creating a plan. Thus, enabling the workflow to use the remote-source query param and removing the need for the CreatePlan Knative function.

Once konveyor/move2kube#1126 is merged, we can revert back to using the konveyor images

Solves https://issues.redhat.com/browse/FLPATH-820

@gabriel-farache gabriel-farache changed the title move2kube workflow using ssh keys instead of token [FLPATH-820] move2kube workflow using ssh keys instead of token Jan 3, 2024
m2k/README.md Outdated Show resolved Hide resolved
m2k/k8s/m2k-service.yaml Show resolved Hide resolved
m2k/k8s/move2kube.yaml Show resolved Hide resolved
m2k/m2k-func/README.md Outdated Show resolved Hide resolved
@gabriel-farache gabriel-farache changed the title [FLPATH-820] move2kube workflow using ssh keys instead of token move2kube workflow using ssh keys instead of token Jan 8, 2024
Copy link
Contributor

@pkliczewski pkliczewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall it looks good, please just fix this last comment

@gabriel-farache gabriel-farache force-pushed the feat/m2k_ssh branch 2 times, most recently from abb79c2 to ee80ec6 Compare January 11, 2024 10:14
@pkliczewski
Copy link
Contributor

/lgtm

@pkliczewski
Copy link
Contributor

@masayag please review and merge

Copy link
Collaborator

@masayag masayag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well-done!

@masayag masayag merged commit cc7e718 into parodos-dev:main Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants