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

Add support for base64 encode/decode in Convert transform #3040

Merged
merged 5 commits into from
Apr 20, 2022

Conversation

bobh66
Copy link
Contributor

@bobh66 bobh66 commented Apr 12, 2022

Signed-off-by: Bob Haddleton bob.haddleton@nokia.com

Description of your changes

Added ToBase64 and FromBase64 Convert types to encode/decode strings. There are a number of resources that require base64 encoded strings, so having the ability to encode the string as part of constructing the composition is critical to supporting these resources.

Fixes #2920

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Unit tests added and tested in a local kind cluster.

Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Copy link
Member

@negz negz left a comment

Choose a reason for hiding this comment

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

Thanks for working on this! A few comments but generally this looks good.

Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Copy link
Member

@muvaf muvaf left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @bobh66 ! Great first contribution!

@muvaf muvaf merged commit 27db711 into crossplane:master Apr 20, 2022
@bobh66 bobh66 mentioned this pull request Aug 16, 2022
6 tasks
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.

Support base64 encode/decode within Composition patches using Transform Types
3 participants