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

Add helm value for custom jmx jar location when using other jmx init container images #846

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

corang
Copy link
Contributor

@corang corang commented Jul 31, 2024

Since the first argument to the copy for the initcontainer is hardcoded, it allows only the bitnami image to be used. Making this value based allows for other images to be used instead.

@bianchi2
Copy link
Collaborator

@corang thanks, indeed using a different image (with a different jmx jar location) can be problematic without this fix. We'll release 1.20.2 this week.

@bianchi2 bianchi2 added the e2e label Jul 31, 2024
@corang
Copy link
Contributor Author

corang commented Aug 2, 2024

Do you want me to try to fix the output files for testing? @bianchi2

@bianchi2
Copy link
Collaborator

bianchi2 commented Aug 3, 2024

@corang you may run this command

docker run -v $(pwd):/app \
  -w /app maven \
  /bin/sh -c \
  "curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash &&  mvn test -B -Dtest=test.HelmOutputComparisonTest#record_helm_template_output_matches_expectations -DrecordOutput=true"

and commit changed expected output files.

@corang corang requested a review from bianchi2 August 5, 2024 18:32
@corang
Copy link
Contributor Author

corang commented Aug 5, 2024

@bianchi2 If I can I would suggest adding helm dep build to the test you sent me, had to go into each chart and do it manually otherwise the tests fail

@bianchi2
Copy link
Collaborator

bianchi2 commented Aug 5, 2024

@corang ah, right. I just had the deps locally so it worked for me because of the volume mount. Thanks for fixing the tests!

@bianchi2 bianchi2 merged commit f89a681 into atlassian:main Aug 5, 2024
3 checks passed
@Michael-Kruggel
Copy link
Contributor

Hey @bianchi2, I was looking to use this feature, but it looks like the subchart hasn't been released to reflect this change in the consuming charts. Is there an eta on this being released?

@bianchi2
Copy link
Collaborator

bianchi2 commented Sep 9, 2024

@Michael-Kruggel indeed 🤦 common was never released. We'll cut a new release this week.

UPDATE: 1.21.3 is out (bumped common dependency version to 1.2.7)

@bianchi2 bianchi2 mentioned this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants