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

Read binaryData from configMap #556

Open
dosmanak opened this issue Jul 20, 2023 · 2 comments
Open

Read binaryData from configMap #556

dosmanak opened this issue Jul 20, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@dosmanak
Copy link
Contributor

Hello, I wanted to serve compressed payload with errorfiles using content-type: gzip. When I create configMap using such data, it is not UTF-8 but binary data and the configMap contains it base64 encoded in binaryData object and not data as usual.

I think the binaryData are not read from configMaps in Haproxy Ingress controller informers.go.
I thing the Annotation object should read both data and binaryData from configMap object and merge them.

I used plaintext configMap and raised tun.bufsize instead so the errorfile fits in buffer size. But being able to fill it with binary data could be beneficial.

Some info on binaryData in configMaps is in k8s docs.

@stale
Copy link

stale bot commented Aug 21, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 21, 2023
@ivanmatmati
Copy link
Collaborator

Hi @dosmanak , I will mark this as an enhancement. It will be discussed if it's a fit for an ulterior release. Thanks for suggesting.

@stale stale bot removed the stale label Aug 22, 2023
@ivanmatmati ivanmatmati added enhancement New feature or request stale labels Aug 22, 2023
@stale stale bot removed the stale label Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants