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

internal/dag: mark ingress.class annotation valid for HTTPProxies #2128

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Jan 16, 2020

The "kubernetes.io/ingress.class" annotation is valid for all
ingress-like document kinds.

This fixes #2119.

Signed-off-by: James Peach [email protected]

The "kubernetes.io/ingress.class" annotation is valid for all
ingress-like document kinds.

This fixes projectcontour#2119.

Signed-off-by: James Peach <[email protected]>
@jpeach jpeach changed the title internal/dag: mark inress.class annotation valid for HTTPProxies internal/dag: mark ingress.class annotation valid for HTTPProxies Jan 16, 2020
@jpeach jpeach force-pushed the no-ingress-class-warning branch from 9d5883c to 461cecb Compare January 16, 2020 21:53
Copy link
Contributor

@davecheney davecheney left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing this so quickly

@stevesloka
Copy link
Member

Should the ingress class go in the HTTPProxy document and not an annotation?

@jpeach
Copy link
Contributor Author

jpeach commented Jan 16, 2020 via email

@davecheney
Copy link
Contributor

Should the ingress class go in the HTTPProxy document and not an annotation?

I don't have a strong opinion about this but I wanted to give some historical detail.

When we were adding ingressroute we asked the same question and at the time decided that ingress class was probably an appropriate use of an annotation, it is more or less a special kind of label. We might have also talked about adding the equivalent of the annotation as a field, but at the time that didn't go anywhere.

@stevesloka
Copy link
Member

// #720

@jpeach jpeach merged commit 64f9e7c into projectcontour:master Jan 16, 2020
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.

Mark "kubernetes.io/ingress.class" supported on HTTPProxy
3 participants