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

Handle secret types properly while masking sops data #2646

Merged
merged 1 commit into from Apr 19, 2022

Conversation

aryan9600
Copy link
Member

Fixes #2535

Signed-off-by: Sanskar Jaiswal jaiswalsanskar078@gmail.com

Copy link
Member

@souleb souleb left a comment

Choose a reason for hiding this comment

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

Thanks @aryan9600 for working on this. That looks good. But in issue #2535, the example given by the reporter contains the type, we might want to have him validate this.

@aryan9600
Copy link
Member Author

Yep, I was able to repro the issue on my local and confirm that these changes fix the issue. @nickperkins could you confirm validate it as well if possible?

@souleb souleb added area/diff Diff related issues and pull requests bug Something isn't working labels Apr 19, 2022
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

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

This looks good to me, but is in need of a rebase. Thanks @aryan9600 🙇

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
@hiddeco hiddeco merged commit 52f1bfe into fluxcd:main Apr 19, 2022
@nickperkins
Copy link

Yep, I was able to repro the issue on my local and confirm that these changes fix the issue. @nickperkins could you confirm validate it as well if possible?

This seems to have fixed the issue on my side. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/diff Diff related issues and pull requests bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flux diff - failed to mask secret <name> sops data: no field named 'type'
4 participants