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

[gcloud-sqlproxy] fix #143 add suffix using randAlphaNum to instanceShortName #144

Merged
merged 5 commits into from
Oct 19, 2023

Conversation

danyworks
Copy link
Contributor

@danyworks danyworks commented Oct 18, 2023

What this PR does / why we need this:
solves the issue #143

the helpers.tpl now defines the instanceShortName using 5 char prefix from the instance name
then a "-", lastly suffixed by 9 chars from lowercased randAlphaNum function to avoid running into the issue of duplicate values for the port names of gcloud-sqlproxy deployment.yaml

Which issue this PR fixes
fixes #143

Special notes for your reviewer:
will quickly finish the rest steps from the checklist below :)

Checklist

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

  • Chart Version bumped, is mandatory for any chart chnages
  • Variables and other changes are documented in the README.md
  • Title of the PR starts with chart name (e.g. [gcloud-sqlproxy])

@danyworks danyworks changed the title fix #143 add randAlphaNum to instanceShortName [gcloud-sqlproxy] fix #143 add suffix using randAlphaNum to instanceShortName Oct 18, 2023
@danyworks danyworks closed this Oct 18, 2023
@danyworks danyworks reopened this Oct 18, 2023
@rimusz rimusz merged commit 867f85b into rimusz:master Oct 19, 2023
2 checks passed
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.

gcloud-sqlproxy - Duplicate Port Name if instanceShortName is not defined
3 participants