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

getReleaseName logic - name should not extend 53 chars #701

Open
jaybea87 opened this issue Oct 27, 2022 · 0 comments
Open

getReleaseName logic - name should not extend 53 chars #701

jaybea87 opened this issue Oct 27, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jaybea87
Copy link

With the current logic in 0.2.x there is a higher chance of getting too long release name. Suggestion from David is to create some type of truncate logic.

Ref slack: https://tietoevry-banking.slack.com/archives/C44Q44FKR/p1666867327940969

Issue with github action evryfs/helm-ephemeral-action (v0.2.x version)
We went from using version evryfs/[email protected] to evryfs/[email protected], and for two of our repo’s with long name, we started to see this error in our builds:
/opt/hostedtoolcache/helm/3.9.0/x64/linux-amd64/helm install --repo https://nexus.finods.com/nexus/repository/evryfs-helm/ fs-oracle-db-dev-plb-ace-integration-server-2459396331 fs-oracle-db-dev --wait --timeout 5m
Error: INSTALLATION FAILED: release name "fs-oracle-db-dev-plb-ace-integration-server-2459396331": invalid release name, must match regex ^a-z0-9?(.a-z0-9?)*$ and the length must not be longer than 53
Error: The process '/opt/hostedtoolcache/helm/3.9.0/x64/linux-amd64/helm' failed with exit code 1
https://github.com/tietoevryfs/plb-ace-integration-server/actions/runs/3334954809/jobs/5518471560#step:6:11
This seems to be related to the changes made in the first 0.2.0: v0.1.18...v0.2.0

@davidkarlsen davidkarlsen added enhancement New feature or request good first issue Good for newcomers labels Oct 27, 2022
@davidkarlsen davidkarlsen self-assigned this Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants