Skip to content

Fix/allow non standard convention tgz#288

Open
albertoec wants to merge 3 commits intocrossplane-contrib:mainfrom
albertoec:fix/allow-non-standard-convention-tgz
Open

Fix/allow non standard convention tgz#288
albertoec wants to merge 3 commits intocrossplane-contrib:mainfrom
albertoec:fix/allow-non-standard-convention-tgz

Conversation

@albertoec
Copy link

Description of your changes

This PR fixes an issue regarding helm charts not honoring naming convention. Originally, the provider will generate the expected tgz name directly as filename := fmt.Sprintf("%s-%s.tgz", spec.Name, spec.Version) . The new implementation gets the name of the .tgz directly from the downloaded file, avoiding the hard-coding of the tgz file.

Fixes #106

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Tested on live cluster deploying charts with standard and non-standard convention names.

albertoec and others added 2 commits May 20, 2025 13:12
…t tgz names

Signed-off-by: Alberto Estévez <alberto.estevez@edgecontinuum.com>
Signed-off-by: Alberto Estévez <alberto.estevez@edgecontinuum.com>
@albertoec albertoec force-pushed the fix/allow-non-standard-convention-tgz branch from 80374d7 to dd6592b Compare May 20, 2025 11:13
Signed-off-by: Alberto Estévez <alberto.estevez@edgecontinuum.com>
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.

Some Charts have unexpected names

1 participant