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

use data field in Secrets #2795

Closed
wants to merge 1 commit into from
Closed

use data field in Secrets #2795

wants to merge 1 commit into from

Conversation

makkes
Copy link
Member

@makkes makkes commented Jun 1, 2022

there are some bugs in stringData, and it's better to just use data

there are some bugs in stringData, and it's better to just use data

Signed-off-by: Max Jonas Werner <mail@makk.es>
@stefanprodan
Copy link
Member

While Kubernetes has issues with stringData we fixed them in Flux. See fluxcd/kustomize-controller#576

Please raise issues for things like this before PRs. Thanks!

@makkes
Copy link
Member Author

makkes commented Jun 1, 2022

@stefanprodan this was a follow-up to @souleb's ask here so I didn't think an issue was necessary. 🤔

@makkes makkes deleted the stringdata-to-data branch June 1, 2022 13:33
@stefanprodan
Copy link
Member

Using data in flux does not guard against stringData used by users in their repos. Also using data in Flux, would prevent secret scanners from notifying users they push credentials to Git, since the values are base64.

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