Fix IngressClass logic for newer releases (#7341)
* Fix IngressClass logic for newer releases Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com> * Change e2e tests for the new IngressClass presence * Fix chart and admission tests Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com> * Fix helm chart test Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com> * Fix reviews * Remove ingressclass code from admission
This commit is contained in:
parent
0d57e87819
commit
cef147a24d
68 changed files with 1450 additions and 637 deletions
|
|
@ -80,6 +80,7 @@ func buildIngressWithNonexistentService(host, namespace, path string) *networkin
|
|||
Namespace: namespace,
|
||||
},
|
||||
Spec: networking.IngressSpec{
|
||||
IngressClassName: framework.GetIngressClassName(namespace),
|
||||
Rules: []networking.IngressRule{
|
||||
{
|
||||
Host: host,
|
||||
|
|
@ -115,6 +116,7 @@ func buildIngressWithUnavailableServiceEndpoints(host, namespace, path string) (
|
|||
Namespace: namespace,
|
||||
},
|
||||
Spec: networking.IngressSpec{
|
||||
IngressClassName: framework.GetIngressClassName(namespace),
|
||||
Rules: []networking.IngressRule{
|
||||
{
|
||||
Host: host,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue