Re: [kubernetes-users] ingress host enforcement

2018-05-09 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Admission controller webhooks are how you can add custom pre-admission
checks.
On Tue, May 8, 2018 at 11:45 PM Christopher Schmidt 
wrote:

> Hi,

> what I want is to enforce a specific host setting for users ingresses.

> lets say, every ingess host setting has
> - to be unique and
> - has to contain the namespace it has been created in and
> - a specific domain (f.e. myapp.my-namespace.foo.bar.com)

> Does anyone know how to do this? By patching nginx-ingress?
> By ingress claims (which is still a proposal?) ?
> Writing a custom Admission Controller like this one
https://github.com/yahoo/k8s-ingress-claim?

> Thanks for any tips...
> best Christopher

> --
> You received this message because you are subscribed to the Google Groups
"Kubernetes user discussion and Q" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to kubernetes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.


[kubernetes-users] ingress host enforcement

2018-05-09 Thread Christopher Schmidt
Hi,

what I want is to enforce a specific host setting for users ingresses.

lets say, every ingess host setting has 
- to be unique and 
- has to contain the namespace it has been created in and 
- a specific domain (f.e. myapp.my-namespace.foo.bar.com)

Does anyone know how to do this? By patching nginx-ingress? 
By ingress claims (which is still a proposal?) ?
Writing a custom Admission Controller like this one 
https://github.com/yahoo/k8s-ingress-claim?

Thanks for any tips...
best Christopher

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.