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

Allow Pulimi to extract structured data. #3308

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

alphayax
Copy link
Contributor

Handle json.RawMessage as a []byte in util.GetByteValue.
This allow Pulimi to extract structured data.

Close: #3307

Problem Statement

Pulumi can't extract structured data

Related Issue

Fixes #3307

Proposed Changes

Pulumi use json.RawMessage who is a []byte, but is not considered as is in the GetByteValue method. The proposed change is tested and fix the problem.

Checklist

  • I have read the contribution guidelines
  • All commits are signed with git commit --signoff
  • My changes have reasonable test coverage
  • All tests pass with make test
  • I ensured my PR is ready for review with make reviewable

This allow Pulimi to extract structured data.

Close: external-secrets#3307
Signed-off-by: alphayax <alphayax@gmail.com>
@alphayax alphayax requested a review from a team as a code owner March 27, 2024 09:00
Signed-off-by: alphayax <alphayax@gmail.com>
Copy link

sonarcloud bot commented Mar 27, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Skarlso Skarlso merged commit 5ac6b5f into external-secrets:main Mar 27, 2024
15 of 16 checks passed
@Skarlso
Copy link
Contributor

Skarlso commented Mar 27, 2024

Ah shit, I forgot to run the tests 🤦

@Skarlso
Copy link
Contributor

Skarlso commented Mar 27, 2024

I wonder if it works.

@Skarlso
Copy link
Contributor

Skarlso commented Mar 27, 2024

/ok-to-test sha=28f0cda

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.

Pulumi : Unable to extract structured data
2 participants