Skip to content

Make ingress annotations templatable #742

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

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

Verified

This commit was signed with the committer’s verified signature.
rbeuque74 Romain Beuque
@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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
tchiotludo pushed a commit that referenced this pull request Oct 24, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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.

None yet

2 participants