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

Fix non-rendering chart if using extraHost or extraPaths #3367

Merged
merged 3 commits into from
Sep 9, 2021

Conversation

antgamdia
Copy link
Contributor

Description of the change

This PR adds the changes proposed by @Mauraza at #3366 (comment) to fix the issue when rendering the Helm template.

Benefits

Our chart will work again :P

Possible drawbacks

N/A

Applicable issues

Additional information

We should commit these changes to the upstream chart repo as well.

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Copy link
Contributor

@absoludity absoludity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. From what I understand, this allows the extraHosts field to be used again as described in the docs for using a subpath, but we can also update our docs to just use the ingress.path and ingress.pathType?

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
--set ingress.enabled=true \
--set ingress.hostname=example.com \
bitnami/kubeapps
--set ingress.annotations."kubernetes\.io/ingress\.class"=nginx # or your preferred ingress controller
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be using ingressClassName, but let's see what the Bitnami chart people think:
bitnami/charts#7434 (comment)

@antgamdia antgamdia merged commit c8fc063 into vmware-tanzu:master Sep 9, 2021
@antgamdia antgamdia deleted the fixChartIngress branch September 9, 2021 09:29
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.

Chart rendering issues when using ingress extraHosts
2 participants