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

Implements DecodingStrategy. #1294

Merged
merged 1 commit into from
Jul 12, 2022
Merged

Implements DecodingStrategy. #1294

merged 1 commit into from
Jul 12, 2022

Conversation

gusfcarvalho
Copy link
Member

@gusfcarvalho gusfcarvalho commented Jun 25, 2022

This is a proposed solution to implement DecodingStrategy, with some strategies available for base64 and base64url encoding formats.

Current implementation defaults to None, in order to preserve current External Secrets behavior, as some secret values might get misconverted to base64 due to their nature (for instance, numbered values).

Fixes #920

  • Functionality itself
  • e2e tests
  • documentation

Signed-off-by: Gustavo Carvalho gustavo.carvalho@container-solutions.com

@ghost
Copy link

ghost commented Jun 25, 2022

👇 Click on the image for a new way to code review
  • Make big changes easier — review code in small groups of related files

  • Know where to start — see the whole change at a glance

  • Take a code tour — explore the change with an interactive tour

  • Make comments and review — all fully sync’ed with github

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

@gusfcarvalho gusfcarvalho changed the title Implements DecodingStrategy. Fixes #920 Implements DecodingStrategy. Jun 25, 2022
Fixes #920

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
@gusfcarvalho gusfcarvalho force-pushed the feature/decodingstrategy branch 2 times, most recently from a69de38 to f5bc282 Compare June 26, 2022 11:03
@sonarcloud
Copy link

sonarcloud bot commented Jun 26, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@knelasevero
Copy link
Member

/approve

@gusfcarvalho
Copy link
Member Author

I will leave this one open so other people can jump in and take a look :)

@gusfcarvalho gusfcarvalho merged commit fa91ba0 into main Jul 12, 2022
@paul-the-alien paul-the-alien bot deleted the feature/decodingstrategy branch July 12, 2022 12:18
@gusfcarvalho
Copy link
Member Author

@moolen we already merged as you are on vacations, but feel free to open up issues if you spot something weird here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

ExternalSecrets Decoding Strategy
2 participants