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

Custom annotations #375

Merged
merged 1 commit into from
Sep 17, 2018
Merged

Custom annotations #375

merged 1 commit into from
Sep 17, 2018

Conversation

pleshakov
Copy link
Contributor

Proposed changes

Implements #359

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

Copy link
Contributor

@isaachawley isaachawley left a comment

Choose a reason for hiding this comment

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

👍

Copy link

@kongdewen kongdewen left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you so much!

Now it is possible to get access to the annotations of an Ingress
resource from the template for Ingress resources. This allows
users to implement custom annotations by modifying the template
to insert NGINX configuration based on the presence on an
annotation or its value.

Additionally, the Ingress name and namespace is also avaiable
in the template.
@pleshakov pleshakov merged commit 46b8077 into master Sep 17, 2018
@pleshakov pleshakov deleted the custom-annotations branch September 17, 2018 10:52
@pleshakov pleshakov mentioned this pull request Sep 17, 2018
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.

4 participants