baarde / cert-manager-webhook-ovh

OVH Webhook for Cert Manager
Apache License 2.0
94 stars 65 forks source link

fix #5, base64 secret was parsed with an ending \n #6

Closed julienkosinski closed 3 years ago

julienkosinski commented 3 years ago

When I was executing the test suite I encountered the same issue as described in issue #5. Base64 secret was parsed with an ending \n. I don't know what happened under the hood (I tried with or without breaking line in the Yaml, I tested different line separators for the Yaml file... This seems to be linked with the way base64 decoding is done.).