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

feat(transfer): Support multiple public SSH keys #1940

Merged

Conversation

MisterMX
Copy link
Collaborator

@MisterMX MisterMX commented Nov 8, 2023

Description of your changes

This adds support for multiple SSH keys per transfer user. It relies on ImportSshPublicKey instead of passing a single key with CreateUser.

It also adds support for tag updates.

Deprecate spec.forProvider.sshPublicKeyBody in favor of spec.forProvider.sshPublicKeys.
If spec.forProvider.sshPublicKeys is nil it will be lateinitialized to an array with a single item containing spec.forProvider.sshPublicKeyBody (if not nil).

This is technically not breaking as the field spec.forProvider.sshPublicKeyBody is immutable.
However, it should be removed in a future release.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Manually with the (new) provided example and unit tests.

Deprecate spec.forProvider.sshPublicKeyBody in favor of
spec.forProvider.sshPublicKeys.

Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <maximilian.blatt-extern@deutschebahn.com>
@MisterMX MisterMX requested a review from chlunde November 8, 2023 15:25
@MisterMX MisterMX merged commit acc77b1 into crossplane-contrib:master Nov 10, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants