rimusz / charts

Helm Charts for Kubernetes
MIT License
90 stars 70 forks source link

[gcloud-sqlproxy] fix #145 use sha1sum instead of randAlphaNum #146

Closed danyworks closed 1 year ago

danyworks commented 1 year ago

What this PR does / why we need it: for persistance of random suffix, used by instanceShortName. the function randAlphaNum was previously used, is now replaced with a trimmed sha1sum, that is 9 characters long.

This sha1sum is generated using instance name so it remains consistent across multiple calls, as long as the instance name does not change.

Which issue this PR fixes: fixes #145

Special notes for your reviewer: I did bumped the chart version, but i guess the bug is in 0.25.3 so it is better to overwrite the version instead of bumping it. I bumped it also, so the linter does not create issues.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

rimusz commented 1 year ago

@danyworks please resolve merge conflicts, thanks

rimusz commented 1 year ago

@danyworks please resolve chart lint issues, thanks