-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[bitnami/tomcat] Unable to install tomcat if an initContainers is set within a yaml value file. #29158
Comments
Hi! Thank you so much for reporting! As you spotted it, would you like to submit a PR with the fix? |
Honestly, i prefer that an expert will check, have a look and make changes. It is working locally on my side, but i have no idea of possible side effects on other K8S. |
Thank you for reporting this issue @irenee25! I have submitted this PR with your suggestion #29448 The change at 806c0e8 was correct, but later at some point, we modified the volumePermissions indent and forgot to set it back for initContainers, causing this issue. As I mentioned in the PR's 'Additional information' section, the indentation is not wrong by itself, both with and without initial whitespace are valid as long as they are used consistently, which is not the case when volumePermissions (indent 2) is used with initContainers (indent 0). |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Name and Version
bitnami/tomcat 11.2.18
What architecture are you using?
amd64
What steps will reproduce the bug?
Export default value within a file.
Just edit the content of initContainers.
For example :
Are you using any custom parameters or values?
Yes, using a custom initContainers
What is the expected behavior?
The template must generate a template as below :
What do you see instead?
Additional information
To fix the issue, edit the code of tomcat/templates/_pod.tpl, near line 62.
Replace
by
( add indentation +2 )
Rendered template will be correct.
The text was updated successfully, but these errors were encountered: