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

Make ingress annotations templatable #742

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

ls-jad-elkik
Copy link
Contributor

@ls-jad-elkik ls-jad-elkik commented Jun 22, 2021

The PR just passes the annotations field in the ingress through the tpl function. The use case is to embed the namespace name $.Release.Namespace in a custom nginx configuration snippet.

Other charts do something similar, see:

https://github.com/bitnami/charts/blob/b6f75f4f646578fd6945fc4e041a6e96cad9c8e7/bitnami/phpmyadmin/templates/ingress.yaml#L16

https://github.com/bitnami/charts/blob/b6f75f4f646578fd6945fc4e041a6e96cad9c8e7/bitnami/common/templates/_tplvalues.tpl#L11

@tchiotludo tchiotludo merged commit d384a20 into tchiotludo:dev Jul 8, 2021
@ls-jad-elkik ls-jad-elkik deleted the patch-1 branch July 19, 2021 07:58
chgl pushed a commit to chgl/akhq that referenced this pull request Aug 9, 2021
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.

2 participants