Skip to content

feat: Added feature to base64 decode the value in GSM#595

Open
aminsaedi wants to merge 4 commits intoGoogleCloudPlatform:mainfrom
aminsaedi:as/base64-decode
Open

feat: Added feature to base64 decode the value in GSM#595
aminsaedi wants to merge 4 commits intoGoogleCloudPlatform:mainfrom
aminsaedi:as/base64-decode

Conversation

@aminsaedi
Copy link

@aminsaedi aminsaedi commented Sep 16, 2025

This PR adds a new decodeBase64 field to the Secret configuration that allows automatic base64 decoding of secret values retrieved from GSM and Parameter Manager before mounting them to pods.

Motivation

We use a third-party service that stores secrets in GSM in base64-encoded format. Currently, when these secrets are mounted to pods, they remain base64-encoded, requiring additional decoding steps within the application. This feature removes that extra step by decoding the values directly in the CSI driver.

@google-cla
Copy link

google-cla bot commented Sep 16, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@dargudear-google
Copy link
Member

Thanks for the PR, I'll review it by next EOW.

@aminsaedi
Copy link
Author

@dargudear-google Could you please review again?

@dargudear-google
Copy link
Member

Please also update the e2e test test/e2e/.

@aminsaedi
Copy link
Author

@dargudear-google I think the E2E tests are failing due to authentication issues with forked PRs, not due to my code changes. Could you please help me how to resolve it?

@dargudear-google
Copy link
Member

@dargudear-google I think the E2E tests are failing due to authentication issues with forked PRs, not due to my code changes. Could you please help me how to resolve it?

Yes it is known limitation but we can run it after merge and resolve any issues afterwords.

@aminsaedi
Copy link
Author

@dargudear-google Could you please check this PR?

@dargudear-google
Copy link
Member

@dargudear-google I think the E2E tests are failing due to authentication issues with forked PRs, not due to my code changes. Could you please help me how to resolve it?

key was expired which I fixed it now

@aminsaedi
Copy link
Author

aminsaedi commented Nov 18, 2025

So could you please run the CI jobs again? Thanks.

@dargudear-google
Copy link
Member

I can not see any changes in test/e2e/ ?
Please make the changes and I can run it on my side, right now it is not possible to run e2e tests from forked repo branches.

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.

2 participants