kubernetes-ingress
kubernetes-ingress copied to clipboard
Read binaryData from configMap
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.
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.
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.